mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
boards: Move -fno-strict-aliasing from Make.defs to Toolchain.defs
and migrate MAXOPTIMIZATION into ARCHOPTIMIZATION Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
1e23799455
commit
aeb9c5d822
@@ -45,10 +45,6 @@ ifeq ("${CONFIG_DEBUG_FEATURES}","y")
|
||||
ARCHOPTIMIZATION = -g
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_DEBUG_NOOPT),y)
|
||||
ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing
|
||||
endif
|
||||
|
||||
ifeq ($(OLDGCC),n)
|
||||
ARCHCPUFLAGS = -mcpu=arm7tdmi -mfloat-abi=soft
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user