changeset 2734:81ff40693ae4

Update compiler flags
author bartv
date Mon, 02 Feb 2009 13:57:09 +0000
parents 00813b25dec2
children c880f1f39640
files packages/hal/calmrisc16/core/current/ChangeLog packages/hal/calmrisc16/core/current/cdl/hal_calm16_core.cdl
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/calmrisc16/core/current/ChangeLog
+++ b/packages/hal/calmrisc16/core/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_calm16_core.cdl: update compiler flags for gcc 4.x
+
 2004-04-22  Jani Monoses <jani@iv.ro>
 
 	 * cdl/hal_calm16_core.cdl :
--- a/packages/hal/calmrisc16/core/current/cdl/hal_calm16_core.cdl
+++ b/packages/hal/calmrisc16/core/current/cdl/hal_calm16_core.cdl
@@ -105,7 +105,7 @@ cdl_package CYGPKG_HAL_CALM16_CORE {
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -fno-builtin" }
+            default_value { CYGBLD_GLOBAL_WARNFLAGS . " -g -O2 -fno-rtti -fno-exceptions -fno-builtin" }
             description   "
                 This option controls the global compiler flags which
                 are used to compile all packages by