This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
update m68k compiler flags
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sourceware dot org
- Date: Mon, 02 Feb 2009 16:01:46 +0000
- Subject: update m68k compiler flags
Index: mcf52xx/mcf5272/m5272c3/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/ChangeLog,v
retrieving revision 1.2
diff -u -p -r1.2 ChangeLog
--- mcf52xx/mcf5272/m5272c3/current/ChangeLog 29 Jan 2009 17:49:23 -0000 1.2
+++ mcf52xx/mcf5272/m5272c3/current/ChangeLog 2 Feb 2009 16:00:11 -0000
@@ -1,3 +1,7 @@
+2009-01-31 Bart Veer <bartv@ecoscentric.com>
+
+ * cdl/hal_m68k_m5272c3.cdl: update compiler flags for gcc 4.x
+
2008-11-18 Bart Veer <bartv@ecoscentric.com>
* whole package. Replace the original M68K port.
Index: mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/m68k/mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl,v
retrieving revision 1.2
diff -u -p -r1.2 hal_m68k_m5272c3.cdl
--- mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl 29 Jan 2009 17:49:23 -0000 1.2
+++ mcf52xx/mcf5272/m5272c3/current/cdl/hal_m68k_m5272c3.cdl 2 Feb 2009 16:00:12 -0000
@@ -301,7 +301,7 @@ cdl_package CYGPKG_HAL_M68K_M5272C3 {
display "Global compiler flags"
flavor data
no_define
- default_value { "-mcpu=5272 -malign-int -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fomit-frame-pointer" }
+ default_value { CYGBLD_GLOBAL_WARNFLAGS . "-mcpu=5272 -malign-int -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fomit-frame-pointer" }
description "This option controls the global compiler flags
which are used to compile all packages by default.
Individual packages may define options which