Skip to content

Commit 48f661d

Browse files
committed
cmake: gnu: Set TOOLCHAIN_HAS_GLIBCXX
This commit updates the GNU toolchain CMake script to set `TOOLCHAIN_HAS_GLIBCXX` to indicate that libstdc++ aka. GNU C++ Standard Library is supported. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 6354891 commit 48f661d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/zephyr/gnu/generic.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ endif()
2929

3030
set(CROSS_COMPILE ${one_toolchain_root}/${CROSS_COMPILE_TARGET}/bin/${CROSS_COMPILE_TARGET}-)
3131
set(SYSROOT_DIR ${one_toolchain_root}/${SYSROOT_TARGET}/${SYSROOT_TARGET})
32+
3233
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
3334
set(TOOLCHAIN_HAS_PICOLIBC ON CACHE BOOL "True if toolchain supports picolibc")
35+
set(TOOLCHAIN_HAS_GLIBCXX ON CACHE BOOL "True if toolchain supports libstdc++")

0 commit comments

Comments
 (0)