libs/libxx: Enforce RTTI for building libcxxabi

It is okay for the application to be built without RTTI (-fno-rrti), but
libcxxabi requires RTTI at least for the library.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2021-08-31 14:47:13 -03:00 committed by Xiang Xiao
parent ad83e7bc88
commit c260fee516
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ else
CPPSRCS += cxa_noexception.cpp CPPSRCS += cxa_noexception.cpp
endif endif
# RTTI is required for building the libcxxabi library
CXXFLAGS += -frtti
DEPPATH += --dep-path libcxxabi/src DEPPATH += --dep-path libcxxabi/src
VPATH += libcxxabi/src VPATH += libcxxabi/src