This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
update calmrisc32 compiler flags
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sourceware dot org
- Date: Mon, 02 Feb 2009 14:00:27 +0000
- Subject: update calmrisc32 compiler flags
Again, untested.
Bart
2009-01-31 Bart Veer <bartv@ecoscentric.com>
* cdl/hal_calm32_core.cdl: update compiler flags for gcc 4.x
Index: core/current/cdl/hal_calm32_core.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/calmrisc32/core/current/cdl/hal_calm32_core.cdl,v
retrieving revision 1.4
diff -u -p -r1.4 hal_calm32_core.cdl
--- core/current/cdl/hal_calm32_core.cdl 29 Jan 2009 17:49:12 -0000 1.4
+++ core/current/cdl/hal_calm32_core.cdl 2 Feb 2009 13:58:52 -0000
@@ -105,7 +105,7 @@ cdl_package CYGPKG_HAL_CALM32_CORE {
display "Global compiler flags"
flavor data
no_define
- default_value { "-fno-builtin -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 . "-fno-builtin -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