Mercurial > ecos-v3_0-branch
changeset 2733:00813b25dec2
Compiler flags update
| author | bartv |
|---|---|
| date | Mon, 02 Feb 2009 13:46:07 +0000 |
| parents | 4794a43c1c7c |
| children | 81ff40693ae4 |
| files | packages/hal/common/current/ChangeLog packages/hal/common/current/cdl/hal.cdl |
| diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/common/current/ChangeLog +++ b/packages/hal/common/current/ChangeLog @@ -1,3 +1,8 @@ +2009-02-02 Bart Veer <bartv@ecoscentric.com> + + * cdl/hal.cdl: add CYGBLD_GLOBAL_WARNFLAGS, as part of global + compiler flags update. + 2008-11-21 Bart Veer <bartv@ecoscentric.com> * include/hal_if.h (CYGNUM_CALL_IF_available_x): fix typo in
--- a/packages/hal/common/current/cdl/hal.cdl +++ b/packages/hal/common/current/cdl/hal.cdl @@ -72,6 +72,16 @@ cdl_package CYGPKG_HAL { $(CC) $(CFLAGS) -nostdlib -Wl,-r -T /dev/null -Wl,--whole-archive -o $@ $< } + cdl_option CYGBLD_GLOBAL_WARNFLAGS { + display "Standard compiler warning flags" + parent CYGBLD_GLOBAL_OPTIONS + flavor data + no_define + calculated { "-Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings " } + description " + This option specifies the default warning-related compiler flags used + on all eCos platforms." + } cdl_component CYGPKG_HAL_COMMON { display "Platform-independent HAL options"
