changeset 2735:c880f1f39640

Update compiler flags.
author bartv
date Mon, 02 Feb 2009 14:01:58 +0000
parents 81ff40693ae4
children c0560dd9cc5d
files packages/hal/calmrisc32/core/current/ChangeLog packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/calmrisc32/core/current/ChangeLog
+++ b/packages/hal/calmrisc32/core/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_calm32_core.cdl: update compiler flags for gcc 4.x
+
 2004-04-22  Jani Monoses <jani@iv.ro>
 
 	 * cdl/hal_calm32_core.cdl :
--- a/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl
+++ b/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl
@@ -105,7 +105,7 @@ cdl_package CYGPKG_HAL_CALM32_CORE {
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-fno-builtin -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 . "-fno-builtin -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