mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 06:04:28 +08:00
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:
committed by
Xiang Xiao
parent
ad83e7bc88
commit
c260fee516
@@ -55,6 +55,9 @@ else
|
||||
CPPSRCS += cxa_noexception.cpp
|
||||
endif
|
||||
|
||||
# RTTI is required for building the libcxxabi library
|
||||
CXXFLAGS += -frtti
|
||||
|
||||
DEPPATH += --dep-path libcxxabi/src
|
||||
VPATH += libcxxabi/src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user