# HG changeset patch # User bartv # Date 1233590329 0 # Node ID ee235c43410be68fed0598feb5d7637d3e1a21bc # Parent 71d1fc60df0d01834c65e5a29f1e8c8a6ea9ca2e Update compiler flags diff --git a/packages/hal/i386/pc/current/ChangeLog b/packages/hal/i386/pc/current/ChangeLog --- a/packages/hal/i386/pc/current/ChangeLog +++ b/packages/hal/i386/pc/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_i386_pc.cdl: update compiler flags for gcc 4.x + 2005-06-20 Frank Pagliughi * cdl/hal_i386_pc.cdl, include/pkgconf/mlt_i386_pc_grub_hi.*: diff --git a/packages/hal/i386/pc/current/cdl/hal_i386_pc.cdl b/packages/hal/i386/pc/current/cdl/hal_i386_pc.cdl --- a/packages/hal/i386/pc/current/cdl/hal_i386_pc.cdl +++ b/packages/hal/i386/pc/current/cdl/hal_i386_pc.cdl @@ -245,7 +245,7 @@ cdl_package CYGPKG_HAL_I386_PC { display "Global compiler flags" flavor data no_define - default_value { "-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 . " -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 diff --git a/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/ChangeLog b/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/ChangeLog --- a/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/ChangeLog +++ b/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_m68k_m5272c3.cdl: update compiler flags for gcc 4.x + 2008-11-18 Bart Veer * whole package. Replace the original M68K port. diff --git a/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl b/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl --- a/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl +++ b/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl @@ -301,7 +301,7 @@ cdl_package CYGPKG_HAL_M68K_M5272C3 { display "Global compiler flags" flavor data no_define - default_value { "-mcpu=5272 -malign-int -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fomit-frame-pointer" } + default_value { CYGBLD_GLOBAL_WARNFLAGS . "-mcpu=5272 -malign-int -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fomit-frame-pointer" } description "This option controls the global compiler flags which are used to compile all packages by default. Individual packages may define options which