LLVM toolchain provides its own C++ standard library called libc++. This patch adds new LLVM_LIBCXX config which should be used to indicate that libc++ is used. Information about library can be found at https://libcxx.llvm.org Signed-off-by: Patryk Duda <pdk@semihalf.com>
12 lines
191 B
CMake
12 lines
191 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# See root CMakeLists.txt for description and expectations of these macros
|
|
|
|
macro(toolchain_ld_cpp)
|
|
|
|
zephyr_link_libraries(
|
|
-lc++
|
|
)
|
|
|
|
endmacro()
|