Skip to content

Commit 4c4632e

Browse files
committed
libc/picolibc: Allow toolchain picolibc use with C++
The Zephyr SDK includes C++ support for picolibc when using picolibc packaged with the SDK. Signed-off-by: Keith Packard <[email protected]>
1 parent 17cbb1b commit 4c4632e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/libc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ config PICOLIBC_SUPPORTED
1919
bool
2020
depends on ARC || ARM || ARM64 || MIPS || RISCV
2121
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "arcmwdt"
22+
depends on !CPLUSPLUS || !PICOLIBC_MODULE
2223
default y
2324
help
2425
Selected when the target has support for picolibc.

0 commit comments

Comments
 (0)