arch:xtensa:toolchain: add -Wno-atmoic-alignment flags for xcc
see a bug here: https://bugs.llvm.org/show_bug.cgi?id=43603 Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
parent
f9836c94fb
commit
3c6b844fcd
@ -122,6 +122,8 @@ endif
|
|||||||
|
|
||||||
# Default toolchain
|
# Default toolchain
|
||||||
ifeq ($(CONFIG_XTENSA_TOOLCHAIN_XCC), y)
|
ifeq ($(CONFIG_XTENSA_TOOLCHAIN_XCC), y)
|
||||||
|
ARCHCFLAGS += -Wno-atomic-alignment
|
||||||
|
ARCHCXXFLAGS += -Wno-atomic-alignment
|
||||||
CC = $(CROSSDEV)xcc
|
CC = $(CROSSDEV)xcc
|
||||||
CXX = $(CROSSDEV)xc++
|
CXX = $(CROSSDEV)xc++
|
||||||
CPP = $(CROSSDEV)xcc -E -P -x c
|
CPP = $(CROSSDEV)xcc -E -P -x c
|
||||||
|
@ -122,6 +122,8 @@ endif
|
|||||||
|
|
||||||
# Default toolchain
|
# Default toolchain
|
||||||
ifeq ($(CONFIG_XTENSA_TOOLCHAIN_XCC), y)
|
ifeq ($(CONFIG_XTENSA_TOOLCHAIN_XCC), y)
|
||||||
|
ARCHCFLAGS += -Wno-atomic-alignment
|
||||||
|
ARCHCXXFLAGS += -Wno-atomic-alignment
|
||||||
CC = $(CROSSDEV)xcc
|
CC = $(CROSSDEV)xcc
|
||||||
CXX = $(CROSSDEV)xc++
|
CXX = $(CROSSDEV)xc++
|
||||||
CPP = $(CROSSDEV)xcc -E -P -x c
|
CPP = $(CROSSDEV)xcc -E -P -x c
|
||||||
|
Loading…
Reference in New Issue
Block a user