changeset 2744:12fb9dc4b311

Update compiler flags
author bartv
date Mon, 02 Feb 2009 16:22:01 +0000
parents 143483355378
children 9e2951fdbd2f
files packages/hal/sparc/erc32/current/ChangeLog packages/hal/sparc/erc32/current/cdl/hal_sparc_erc32.cdl packages/hal/sparc/leon/current/ChangeLog packages/hal/sparc/leon/current/cdl/hal_sparc_leon.cdl
diffstat 4 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/sparc/erc32/current/ChangeLog
+++ b/packages/hal/sparc/erc32/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_sparc_erc32.cdl: update compiler flags for gcc 4.x
+
 2003-07-18  Nick Garnett  <nickg@balti.calivar.com>
 
 	* cdl/hal_sparc_erc32.cdl:
--- a/packages/hal/sparc/erc32/current/cdl/hal_sparc_erc32.cdl
+++ b/packages/hal/sparc/erc32/current/cdl/hal_sparc_erc32.cdl
@@ -124,7 +124,7 @@ cdl_package CYGPKG_HAL_SPARC_ERC32 {
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-msoft-float -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 . "-msoft-float -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
--- a/packages/hal/sparc/leon/current/ChangeLog
+++ b/packages/hal/sparc/leon/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_sparc_leon.cdl: update compiler flags for gcc 4.x
+
 2003-07-18  Nick Garnett  <nickg@balti.calivar.com>
 
 	* cdl/hal_sparc_leon.cdl:
--- a/packages/hal/sparc/leon/current/cdl/hal_sparc_leon.cdl
+++ b/packages/hal/sparc/leon/current/cdl/hal_sparc_leon.cdl
@@ -124,7 +124,7 @@ cdl_package CYGPKG_HAL_SPARC_LEON {
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-msoft-float -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 . "-msoft-float -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