changeset 2736:c0560dd9cc5d

Compiler flags update
author bartv
date Mon, 02 Feb 2009 14:04:40 +0000
parents c880f1f39640
children 523e994d5b0c
files packages/hal/coldfire/m5272c3/current/ChangeLog packages/hal/coldfire/m5272c3/current/cdl/hal_coldfire_m5272c3.cdl
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/coldfire/m5272c3/current/ChangeLog
+++ b/packages/hal/coldfire/m5272c3/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_coldfire_m5272c3.cdl: update compiler flags for gcc 4.x
+
 2006-05-09  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* include/pkgconf/mlt_coldfire_m5272c3_*.h: Added CYGMEM_REGION_RAM* 
--- a/packages/hal/coldfire/m5272c3/current/cdl/hal_coldfire_m5272c3.cdl
+++ b/packages/hal/coldfire/m5272c3/current/cdl/hal_coldfire_m5272c3.cdl
@@ -252,7 +252,7 @@ cdl_package CYGPKG_HAL_COLDFIRE_M5272C3 
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-m5206e -malign-int -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -finit-priority" }
+            default_value { CYGBLD_GLOBAL_WARNFLAGS . "-m5206e -malign-int -g -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 packages may define options which