# HG changeset patch # User bartv # Date 1233591721 0 # Node ID 12fb9dc4b311af7d1016bfb732bc1e842c56eab2 # Parent 14348335537865aa4ebfdca92cd7f57c263dfb5f Update compiler flags diff --git a/packages/hal/sparc/erc32/current/ChangeLog b/packages/hal/sparc/erc32/current/ChangeLog --- a/packages/hal/sparc/erc32/current/ChangeLog +++ b/packages/hal/sparc/erc32/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sparc_erc32.cdl: update compiler flags for gcc 4.x + 2003-07-18 Nick Garnett * cdl/hal_sparc_erc32.cdl: diff --git a/packages/hal/sparc/erc32/current/cdl/hal_sparc_erc32.cdl b/packages/hal/sparc/erc32/current/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 diff --git a/packages/hal/sparc/leon/current/ChangeLog b/packages/hal/sparc/leon/current/ChangeLog --- a/packages/hal/sparc/leon/current/ChangeLog +++ b/packages/hal/sparc/leon/current/ChangeLog @@ -1,3 +1,7 @@ +2009-01-31 Bart Veer + + * cdl/hal_sparc_leon.cdl: update compiler flags for gcc 4.x + 2003-07-18 Nick Garnett * cdl/hal_sparc_leon.cdl: diff --git a/packages/hal/sparc/leon/current/cdl/hal_sparc_leon.cdl b/packages/hal/sparc/leon/current/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