libxx: Add CXX_RTTI for enabling RTTI support for C++ applications
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
494230a841
commit
2cd1769619
|
@ -73,6 +73,9 @@ ARCHCXXFLAGS = -fno-common -ffunction-sections -fdata-sections -nostdinc++
|
|||
ifeq ($(CONFIG_CXX_EXCEPTION),)
|
||||
ARCHCXXFLAGS += -fno-exceptions -fcheck-new
|
||||
endif
|
||||
ifeq ($(CONFIG_CXX_RTTI),)
|
||||
ARCHCXXFLAGS += -fno-rtti
|
||||
endif
|
||||
ARCHPICFLAGS = -fpic
|
||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
|
||||
|
|
|
@ -83,6 +83,9 @@ config HAVE_CXXINITIALIZE
|
|||
config CXX_EXCEPTION
|
||||
bool "Enable Exception Support"
|
||||
|
||||
config CXX_RTTI
|
||||
bool "Enable RTTI Support"
|
||||
|
||||
if UCLIBCXX
|
||||
|
||||
config UCLIBCXX_BUFSIZE
|
||||
|
|
Loading…
Reference in New Issue