changeset 2747:26f2d00fc565

Update compiler flags
author bartv
date Mon, 02 Feb 2009 18:02:47 +0000
parents 7b70981e8adf
children 644d2e82078f
files packages/hal/v85x/ceb_v850/current/ChangeLog packages/hal/v85x/ceb_v850/current/cdl/hal_v85x_ceb_v850.cdl
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/v85x/ceb_v850/current/ChangeLog
+++ b/packages/hal/v85x/ceb_v850/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_v85x_ceb_v850.cdl: update compiler flags for gcc 4.x
+
 2003-07-18  Nick Garnett  <nickg@balti.calivar.com>
 
 	* cdl/hal_v85x_ceb_v850.cdl:
--- a/packages/hal/v85x/ceb_v850/current/cdl/hal_v85x_ceb_v850.cdl
+++ b/packages/hal/v85x/ceb_v850/current/cdl/hal_v85x_ceb_v850.cdl
@@ -246,7 +246,7 @@ cdl_package CYGPKG_HAL_V85X_V850_CEB {
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-mv850 -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 . "-mv850 -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