arch: rt8920c: Move -fno-common option to ARCHCFLAGS/ARCHCXXFLAGS
Summary: - Apply the same style as sabre-6quad Impact: - None Testing: - Build only Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
613cbbf688
commit
e7cb1b4fb1
@ -50,8 +50,8 @@ ifneq ($(CONFIG_ARMV8M_STACKCHECK),y)
|
||||
endif
|
||||
endif
|
||||
|
||||
ARCHCFLAGS = -fno-builtin -march=armv8-m.main+dsp -mthumb -mfloat-abi=soft -D__thumb2__ -g -gdwarf-3 -Os -fno-tree-scev-cprop
|
||||
ARCHCXXFLAGS = -fno-builtin -nostdinc++ -std=c++11
|
||||
ARCHCFLAGS = -fno-common -fno-builtin -march=armv8-m.main+dsp -mthumb -mfloat-abi=soft -D__thumb2__ -g -gdwarf-3 -Os -fno-tree-scev-cprop
|
||||
ARCHCXXFLAGS = -fno-common -fno-builtin -nostdinc++ -std=c++11
|
||||
ifneq ($(CONFIG_CXX_EXCEPTION),y)
|
||||
ARCHCXXFLAGS += -fno-exceptions -fcheck-new -fno-rtti
|
||||
endif
|
||||
@ -66,15 +66,15 @@ AFLAGS := $(CFLAGS) -D__ASSEMBLY__
|
||||
|
||||
# ELF module definitions
|
||||
|
||||
CELFFLAGS = $(CFLAGS) -mlong-calls -fno-common
|
||||
CXXELFFLAGS = $(CXXFLAGS) -mlong-calls -fno-common
|
||||
CELFFLAGS = $(CFLAGS) -mlong-calls
|
||||
CXXELFFLAGS = $(CXXFLAGS) -mlong-calls
|
||||
AELFFLAGS = $(AFLAGS)
|
||||
LDELFFLAGS = -r -e main -Bstatic $(LDFLAGS)
|
||||
LDELFFLAGS += -T $(TOPDIR)/binfmt/libelf/gnu-elf.ld
|
||||
|
||||
# Loadable module definitions
|
||||
|
||||
CMODULEFLAGS = $(CFLAGS) -mlong-calls -fno-common
|
||||
CMODULEFLAGS = $(CFLAGS) -mlong-calls
|
||||
|
||||
LDMODULEFLAGS = -r -e module_initialize $(LDFLAGS)
|
||||
ifeq ($(WINTOOL),y)
|
||||
|
Loading…
Reference in New Issue
Block a user