forked from Imagelibrary/rtems
bsp/atsam: Allow to change optimization settings.
Allow to overwrite the optimization settings during configuration.
This commit is contained in:
committed by
Sebastian Huber
parent
2ae0acbb71
commit
16fcd56a42
@@ -4,7 +4,6 @@ RTEMS_CPU = arm
|
|||||||
|
|
||||||
CPU_CFLAGS = -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard
|
CPU_CFLAGS = -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard
|
||||||
|
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections
|
||||||
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
|
|
||||||
|
|
||||||
LDFLAGS = -Wl,--gc-sections
|
LDFLAGS = -Wl,--gc-sections
|
||||||
|
|||||||
Reference in New Issue
Block a user