This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
compiler flags for cortexm
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ecos-patches at sourceware dot org
- Date: Mon, 02 Feb 2009 14:13:30 +0000
- Subject: compiler flags for cortexm
2009-01-31 Bart Veer <bartv@ecoscentric.com>
* cdl/hal_cortexm_stm32_stm3210e_eval.cdl: update compiler flags for gcc 4.x
Index: stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl,v
retrieving revision 1.4
diff -u -p -r1.4 hal_cortexm_stm32_stm3210e_eval.cdl
--- stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl 29 Jan 2009 17:49:15 -0000 1.4
+++ stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl 2 Feb 2009 14:13:04 -0000
@@ -215,7 +215,7 @@ cdl_package CYGPKG_HAL_CORTEXM_STM32_STM
display "Global compiler flags"
flavor data
no_define
- default_value { "-mcpu=cortex-m3 -mthumb -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions" }
+ default_value { CYGBLD_GLOBAL_WARNFLAGS . "-mcpu=cortex-m3 -mthumb -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