Skip to content

Commit 0dd7b8a

Browse files
committed
Turn off TOOLCHAIN_HAS_NEWLIB
Now that we're not building newlib, let Zephyr know it isn't available. Signed-off-by: Keith Packard <[email protected]>
1 parent 231ef93 commit 0dd7b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/zephyr/generic.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ 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-
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
32+
set(TOOLCHAIN_HAS_NEWLIB OFF CACHE BOOL "True if toolchain supports newlib")
3333
set(TOOLCHAIN_HAS_PICOLIBC ON CACHE BOOL "True if toolchain supports picolibc")

0 commit comments

Comments
 (0)