aboutsummaryrefslogtreecommitdiff
path: root/core/arch
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2021-09-14 07:08:10 +0200
committerJérôme Forissier <jerome@forissier.org>2021-10-05 15:18:07 +0200
commit511c7659d6d7581d68421e63cf00d092ff089d10 (patch)
tree4c3b944041d9d509c5038732f05633fbb8aa9161 /core/arch
parent4137952d43f5fd1084aed53143e3812373108af8 (diff)
core: arm: remove deprecated CFG_CC_OPTIMIZE_FOR_SIZE
Remove CFG_CC_OPTIMIZE_FOR_SIZE configuration size that is not used and is incorrectly tested here (should be tested against != y). Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/arch')
-rw-r--r--core/arch/arm/arm.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/arch/arm/arm.mk b/core/arch/arm/arm.mk
index 0a3d8fa3..d556f54c 100644
--- a/core/arch/arm/arm.mk
+++ b/core/arch/arm/arm.mk
@@ -154,10 +154,6 @@ ifeq ($(DEBUG),1)
$(call force,CFG_CC_OPT_LEVEL,0)
$(call force,CFG_DEBUG_INFO,y)
endif
-ifeq ($(CFG_CC_OPTIMIZE_FOR_SIZE),n)
-# For backwards compatibility
-$(call force,CFG_CC_OPT_LEVEL,0)
-endif
# Optimize for size by default, usually gives good performance too
CFG_CC_OPT_LEVEL ?= s