[rtems commit] bsp/realview_pbx_a9_qemu: Fix compiler flags

Sebastian Huber sebh at rtems.org
Thu Mar 17 08:02:52 UTC 2016


Module:    rtems
Branch:    master
Commit:    1547b623ebfbce434ff13e83e3d3e23d1de9fb7e
Changeset: http://git.rtems.org/rtems/commit/?id=1547b623ebfbce434ff13e83e3d3e23d1de9fb7e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Mar 17 08:23:30 2016 +0100

bsp/realview_pbx_a9_qemu: Fix compiler flags

---

 .../libbsp/arm/realview-pbx-a9/make/custom/realview_pbx_a9_qemu.cfg    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/arm/realview-pbx-a9/make/custom/realview_pbx_a9_qemu.cfg b/c/src/lib/libbsp/arm/realview-pbx-a9/make/custom/realview_pbx_a9_qemu.cfg
index 19531d3..f687545 100644
--- a/c/src/lib/libbsp/arm/realview-pbx-a9/make/custom/realview_pbx_a9_qemu.cfg
+++ b/c/src/lib/libbsp/arm/realview-pbx-a9/make/custom/realview_pbx_a9_qemu.cfg
@@ -3,8 +3,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
 RTEMS_CPU = arm
 
 CPU_CFLAGS = -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
 
 LDFLAGS = -Wl,--gc-sections
 
-CFLAGS_OPTIMIZE_V ?= -O0 -g
+CFLAGS_OPTIMIZE_V ?= -O0 -g -ffunction-sections -fdata-sections



More information about the vc mailing list