mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
libcxxabi: remove gcc's libsupc++ from cmake/make scripts.
Both libcxxabi and libsupc++ implementat Itanium C++ ABI layer, just pick one. Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
@@ -77,13 +77,7 @@ if(CONFIG_LIBCXXABI)
|
||||
cxa_vector.cpp
|
||||
cxa_virtual.cpp)
|
||||
add_compile_definitions(_LIBCPP_BUILDING_LIBRARY)
|
||||
if(CONFIG_LIBSUPCXX_TOOLCHAIN)
|
||||
add_compile_definitions(__GLIBCXX__)
|
||||
endif()
|
||||
|
||||
if(CONFIG_LIBSUPCXX)
|
||||
add_compile_definitions(__GLIBCXX__)
|
||||
endif()
|
||||
# C++ STL files
|
||||
list(APPEND SRCS stdlib_exception.cpp stdlib_new_delete.cpp
|
||||
stdlib_stdexcept.cpp stdlib_typeinfo.cpp)
|
||||
|
||||
Reference in New Issue
Block a user