boards: Move -fno-common from Make.defs to Toolchain.defs

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-04-24 16:43:10 +08:00
committed by Petro Karashchenko
parent 547c85b0ae
commit 75326e563d
261 changed files with 107 additions and 524 deletions
+3
View File
@@ -55,6 +55,9 @@ else
MAXOPTIMIZATION ?= -Os
endif
ARCHCFLAGS += -fno-common
ARCHCXXFLAGS += -fno-common
# NuttX buildroot under Linux or Cygwin
ifeq ($(CONFIG_LM32_TOOLCHAIN),BUILDROOT)
+3
View File
@@ -27,6 +27,9 @@ else
MAXOPTIMIZATION ?= -Os
endif
ARCHCFLAGS += -fno-common
ARCHCXXFLAGS += -fno-common
# Default toolchain
CC = $(CROSSDEV)gcc