mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
libcxx: porting libcxx test.
porting libcxx test case to nuttx. Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
@@ -220,6 +220,10 @@ if(CONFIG_LIBCXX)
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-D_LIBCPP_DISABLE_AVAILABILITY>)
|
||||
endif()
|
||||
|
||||
if(CONFIG_LIBCXX_TEST)
|
||||
add_link_options(-Wl,-latomic)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
add_link_options(-Wl,-dead_strip)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user