mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
boards: Move -fno-common from Make.defs to Toolchain.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
547c85b0ae
commit
75326e563d
@@ -50,6 +50,9 @@ else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
|
||||
MAXOPTIMIZATION := -O3 -Os3
|
||||
endif
|
||||
|
||||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common
|
||||
|
||||
ARCHCPUFLAGS = -mrtl-version-$(RTL_VERSION) -Wa,-rtl$(RTL_VERSION)
|
||||
ARCHCPUFLAGS += -Wa,-p -mmsg-full-path -TARG:arch=cevaxc5 -Wa,-vdiv4 -Wno-unused
|
||||
|
||||
|
||||
@@ -50,6 +50,9 @@ else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
|
||||
MAXOPTIMIZATION := -O3 -Os3
|
||||
endif
|
||||
|
||||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common
|
||||
|
||||
ARCHCPUFLAGS = -mrtl-version-$(RTL_VERSION) -Wa,-rtl$(RTL_VERSION)
|
||||
ARCHCPUFLAGS += -Wa,-p
|
||||
|
||||
|
||||
Reference in New Issue
Block a user