Browse Source
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>pull/59720/head
3 changed files with 24 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||||||
|
# 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() |
Loading…
Reference in new issue