955d85aa67
Picolibc dependencies limit ability to use third party minimal implementations of CPP when enablng PICOLIBC_USE_MODULE. Signed-off-by: Al Semjonovs <asemjonovs@google.com>
14 lines
250 B
CMake
14 lines
250 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# See root CMakeLists.txt for description and expectations of these macros
|
|
|
|
macro(toolchain_ld_cpp)
|
|
|
|
if(NOT CONFIG_EXTERNAL_MODULE_LIBCPP)
|
|
zephyr_link_libraries(
|
|
-lstdc++
|
|
)
|
|
endif()
|
|
|
|
endmacro()
|