Again, untested. Bart
2009-01-31 Bart Veer <[email protected]> * cdl/hal_calm32_core.cdl: update compiler flags for gcc 4.x Index: core/current/cdl/hal_calm32_core.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl,v retrieving revision 1.4 diff -u -p -r1.4 hal_calm32_core.cdl --- core/current/cdl/hal_calm32_core.cdl 29 Jan 2009 17:49:12 -0000 1.4 +++ core/current/cdl/hal_calm32_core.cdl 2 Feb 2009 13:58:52 -0000 @@ -105,7 +105,7 @@ cdl_package CYGPKG_HAL_CALM32_CORE { display "Global compiler flags" flavor data no_define - default_value { "-fno-builtin -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . "-fno-builtin -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions " } description " This option controls the global compiler flags which are used to compile all packages by
