boards/sim: enable run-time type identification
BTW, correct some cxx compilation options Change-Id: Id3e3eab2020ef1991d2760426d81b40e6e5eff4e Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
80e372ad14
commit
c6fe82bfa1
@ -36,7 +36,10 @@ ifeq ($(CONFIG_STACK_CANARIES),y)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ARCHCPUFLAGS = -fno-builtin
|
ARCHCPUFLAGS = -fno-builtin
|
||||||
ARCHCPUFLAGSXX = -fno-builtin -fno-exceptions -fcheck-new -fno-rtti
|
ARCHCPUFLAGSXX = -fno-builtin -nostdinc++ -fcheck-new
|
||||||
|
ifeq ($(CONFIG_CXX_EXCEPTION),)
|
||||||
|
ARCHCPUFLAGSXX += -fno-exceptions
|
||||||
|
endif
|
||||||
ARCHPICFLAGS = -fpic
|
ARCHPICFLAGS = -fpic
|
||||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
|
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||||
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
|
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
|
||||||
|
Loading…
Reference in New Issue
Block a user