From 16fcd56a42dfdef514350ab6297137e2c863afa1 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Wed, 11 Oct 2017 15:38:14 +0200 Subject: bsp/atsam: Allow to change optimization settings. Allow to overwrite the optimization settings during configuration. --- c/src/lib/libbsp/arm/atsam/make/custom/atsamv.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/arm/atsam/make/custom/atsamv.cfg b/c/src/lib/libbsp/arm/atsam/make/custom/atsamv.cfg index 06892f95f9..0a2437fa12 100644 --- a/c/src/lib/libbsp/arm/atsam/make/custom/atsamv.cfg +++ b/c/src/lib/libbsp/arm/atsam/make/custom/atsamv.cfg @@ -4,7 +4,6 @@ RTEMS_CPU = arm CPU_CFLAGS = -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -CFLAGS_OPTIMIZE_V = -O2 -g -CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections LDFLAGS = -Wl,--gc-sections -- cgit v1.2.3