Skip to content

Commit be66170

Browse files
committed
picolibc: Remove _POSIX_C_SOURCE define
Don't ask picolibc to expose the full POSIX API by default, instead have it only define the Zephyr API. Signed-off-by: Keith Packard <[email protected]>
1 parent 323fd42 commit be66170

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/libc/picolibc/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ if(NOT CONFIG_PICOLIBC_USE_MODULE)
1212
# Use picolibc provided with the toolchain
1313

1414
zephyr_compile_options(--specs=picolibc.specs)
15-
zephyr_compile_definitions(_POSIX_C_SOURCE=200809)
1615
zephyr_libc_link_libraries(-T/dev/null --specs=picolibc.specs c -lgcc)
1716
if(CONFIG_PICOLIBC_IO_FLOAT)
1817
zephyr_compile_definitions(PICOLIBC_DOUBLE_PRINTF_SCANF)

0 commit comments

Comments
 (0)