arch/arm: fix a typo in Toolchain.defs

This commit is contained in:
zouboan 2022-06-11 18:31:06 +08:00 committed by Xiang Xiao
parent be33d66c05
commit 26a348a460
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ endif
ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y)
ARCHOPTIMIZATION += $(CONFIG_DEBUG_OPTLEVEL)
else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),CLANG)
ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),CLANG)
ARCHOPTIMIZATION += -Oz
else
ARCHOPTIMIZATION += -Os

View File

@ -60,7 +60,7 @@ endif
ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y)
ARCHOPTIMIZATION += $(CONFIG_DEBUG_OPTLEVEL)
else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
ifeq ($(CONFIG_ARMV6M_TOOLCHAIN),CLANG)
ifeq ($(CONFIG_ARMV8M_TOOLCHAIN),CLANG)
ARCHOPTIMIZATION += -Oz
else
ARCHOPTIMIZATION += -Os