changeset 2738:5c58e8368b85

Update compiler flags
author bartv
date Mon, 02 Feb 2009 14:23:54 +0000
parents 523e994d5b0c
children 60243961e54d
files packages/hal/fr30/skmb91302/current/ChangeLog packages/hal/fr30/skmb91302/current/cdl/hal_fr30_skmb91302.cdl
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/fr30/skmb91302/current/ChangeLog
+++ b/packages/hal/fr30/skmb91302/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_fr30_skmb91302.cdl: update compiler flags for gcc 4.x
+
 2008-09-19  Lars Poeschel  <larsi@wh2.tu-dresden.de>
 
     * include/plf_cache.h: Changed to the general arch-var-plf include scheme.
--- a/packages/hal/fr30/skmb91302/current/cdl/hal_fr30_skmb91302.cdl
+++ b/packages/hal/fr30/skmb91302/current/cdl/hal_fr30_skmb91302.cdl
@@ -151,7 +151,7 @@ cdl_package CYGPKG_HAL_FR30_MB91301_SKMB
             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 -fomit-frame-pointer -fno-use-cxa-atexit" }
+            default_value { CYGBLD_GLOBAL_WARNFLAGS . " -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fomit-frame-pointer -fno-use-cxa-atexit" }
             description       "This option controls the global compiler  flags
                                which are used to compile all packages by default.
                                Individual  packages  may  define  options   which