Mercurial > nand-ecoscentric
diff packages/hal/arm/lpc2xxx/olpcl2294/current/cdl/hal_arm_lpc2xxx_olpcl2294.cdl @ 2749:82f1df43f011
Update compiler flags
| author | bartv |
|---|---|
| date | Mon, 02 Feb 2009 19:16:08 +0000 |
| parents | 74dbf4c3f2e1 |
| children | 3940c09dd3fe |
line wrap: on
line diff
--- a/packages/hal/arm/lpc2xxx/olpcl2294/current/cdl/hal_arm_lpc2xxx_olpcl2294.cdl +++ b/packages/hal/arm/lpc2xxx/olpcl2294/current/cdl/hal_arm_lpc2xxx_olpcl2294.cdl @@ -175,7 +175,8 @@ cdl_package CYGPKG_HAL_ARM_LPC2XXX_OLPCL display "Global compiler flags" flavor data no_define - default_value { (CYGHWR_THUMB ? "-mthumb " : "") . (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") . "-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . CYGBLD_ARCH_CFLAGS . + "-mcpu=arm7tdmi -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 default. Individual @@ -187,7 +188,7 @@ cdl_package CYGPKG_HAL_ARM_LPC2XXX_OLPCL display "Global linker flags" flavor data no_define - default_value { (CYGHWR_THUMB ? "-mthumb " : "") . (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") . "-mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -g -nostdlib" } + default_value { CYGBLD_ARCH_LDFLAGS . "-mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -g -nostdlib" } description " This option controls the global linker flags. Individual packages may define options which override these global
