This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
calmrisc16 cflags
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sourceware dot org
- Date: Mon, 02 Feb 2009 13:56:22 +0000
- Subject: calmrisc16 cflags
The first per-architecture compiler flags update. All the warning
flags now come from a centralized option. -fvtable-gc and
-finit-priority have been removed.
This patch is untested, I don't have a calmrisc16 compiler handy.
Bart
2009-01-31 Bart Veer <bartv@ecoscentric.com>
* cdl/hal_calm16_core.cdl: update compiler flags for gcc 4.x
Index: core/current/cdl/hal_calm16_core.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/calmrisc16/core/current/cdl/hal_calm16_core.cdl,v
retrieving revision 1.4
diff -u -p -r1.4 hal_calm16_core.cdl
--- core/current/cdl/hal_calm16_core.cdl 29 Jan 2009 17:49:11 -0000 1.4
+++ core/current/cdl/hal_calm16_core.cdl 2 Feb 2009 13:53:22 -0000
@@ -105,7 +105,7 @@ cdl_package CYGPKG_HAL_CALM16_CORE {
display "Global compiler flags"
flavor data
no_define
- default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -fno-builtin" }
+ default_value { CYGBLD_GLOBAL_WARNFLAGS . " -g -O2 -fno-rtti -fno-exceptions -fno-builtin" }
description "
This option controls the global compiler flags which
are used to compile all packages by