forked from Imagelibrary/rtems
bsp/realview_pbx_a9_qemu: Fix compiler flags
This commit is contained in:
@@ -3,8 +3,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
|||||||
RTEMS_CPU = arm
|
RTEMS_CPU = arm
|
||||||
|
|
||||||
CPU_CFLAGS = -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9
|
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
|
LDFLAGS = -Wl,--gc-sections
|
||||||
|
|
||||||
CFLAGS_OPTIMIZE_V ?= -O0 -g
|
CFLAGS_OPTIMIZE_V ?= -O0 -g -ffunction-sections -fdata-sections
|
||||||
|
|||||||
Reference in New Issue
Block a user