changeset 2739:60243961e54d

Update compiler flags
author bartv
date Mon, 02 Feb 2009 14:36:46 +0000
parents 5c58e8368b85
children 71d1fc60df0d
files packages/hal/frv/frv400/current/ChangeLog packages/hal/frv/frv400/current/cdl/hal_frv_frv400.cdl packages/hal/frv/mb93091/current/ChangeLog packages/hal/frv/mb93091/current/cdl/hal_frv_mb93091.cdl packages/hal/frv/mb93093/current/ChangeLog packages/hal/frv/mb93093/current/cdl/hal_frv_mb93093.cdl
diffstat 6 files changed, 15 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/frv/frv400/current/ChangeLog
+++ b/packages/hal/frv/frv400/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_frv_frv400.cdl: update compiler flags for gcc 4.x
+
 2004-04-22  Jani Monoses <jani@iv.ro>
 
 	 * cdl/hal_frv_frv400.cdl :
--- a/packages/hal/frv/frv400/current/cdl/hal_frv_frv400.cdl
+++ b/packages/hal/frv/frv400/current/cdl/hal_frv_frv400.cdl
@@ -209,7 +209,7 @@ cdl_package CYGPKG_HAL_FRV_FRV400 {
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-mcpu=fr400 -fPIC -G0 -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 . "-mcpu=fr400 -fPIC -G0 -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 default. Individual packages may define
--- a/packages/hal/frv/mb93091/current/ChangeLog
+++ b/packages/hal/frv/mb93091/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_frv_mb93091.cdl: update compiler flags for gcc 4.x
+
 2004-09-05  Mark Salter  <msalter@redhat.com>
             David Woodhouse  <dwmw2@redhat.com>
 
--- a/packages/hal/frv/mb93091/current/cdl/hal_frv_mb93091.cdl
+++ b/packages/hal/frv/mb93091/current/cdl/hal_frv_mb93091.cdl
@@ -208,7 +208,7 @@ cdl_package CYGPKG_HAL_FRV_MB93091 {
             display "Global compiler flags"
             flavor  data
             no_define
-             default_value { "-mcpu=fr400 -mno-fdpic -G0 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" }
+             default_value { CYGBLD_GLOBAL_WARNFLAGS . "-mcpu=fr400 -mno-fdpic -G0 -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 default. Individual packages may define
--- a/packages/hal/frv/mb93093/current/ChangeLog
+++ b/packages/hal/frv/mb93093/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-31  Bart Veer <bartv@ecoscentric.com>
+
+	* cdl/hal_frv_mb93093.cdl: update compiler flags for gcc 4.x
+
 2004-09-05  Mark Salter  <msalter@redhat.com>
             David Woodhouse  <dwmw2@redhat.com>
 
--- a/packages/hal/frv/mb93093/current/cdl/hal_frv_mb93093.cdl
+++ b/packages/hal/frv/mb93093/current/cdl/hal_frv_mb93093.cdl
@@ -182,7 +182,7 @@ cdl_package CYGPKG_HAL_FRV_MB93093 {
             display "Global compiler flags"
             flavor  data
             no_define
-             default_value { "-mcpu=fr400 -mno-fdpic -G0 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" }
+             default_value { CYGBLD_GLOBAL_WARNFLAGS . "-mcpu=fr400 -mno-fdpic -G0 -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 default. Individual packages may define