boards: Add -fno-common to ARCHCFLAGS and ARCHCXXFLAGS

since elf loader can't handle SHN_COMMON

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-02-19 21:02:09 +08:00
committed by Xiang Xiao
parent ebf751b16e
commit 54b886ca0d
235 changed files with 472 additions and 468 deletions
@@ -44,7 +44,7 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y)
endif
ARCHPICFLAGS = -fpic
ARCHCFLAGS = -std=c99 -fno-builtin
ARCHCFLAGS = -fno-common -std=c99 -fno-builtin
ARCHCPUFLAGS = -mcpu=rx64m
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
@@ -44,7 +44,7 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y)
endif
ARCHPICFLAGS = -fpic
ARCHCFLAGS = -std=c99 -fno-builtin
ARCHCFLAGS = -fno-common -std=c99 -fno-builtin
ARCHCPUFLAGS = -mcpu=rx64m
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
@@ -44,7 +44,7 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y)
endif
ARCHPICFLAGS = -fpic
ARCHCFLAGS = -std=c99 -fno-builtin
ARCHCFLAGS = -fno-common -std=c99 -fno-builtin
ARCHCPUFLAGS = -mcpu=rx64m
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
+1 -1
View File
@@ -44,7 +44,7 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y)
endif
ARCHPICFLAGS = -fpic
ARCHCFLAGS = -std=c99 -fno-builtin
ARCHCFLAGS = -fno-common -std=c99 -fno-builtin
ARCHCPUFLAGS = -mcpu=rx64m
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
ARCHWARNINGSXX = -Wall -Wshadow -Wundef