zephyr: Remove explicit definition of _POSIX_C_SOURCE

This is no longer necessary as Picolibc exposes the Zephyr API without
needing it.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2023-12-27 22:11:41 -08:00
parent 4b6341d464
commit 1c80a6706c

View File

@ -93,8 +93,6 @@ if(CONFIG_PICOLIBC_USE_MODULE)
# Enable POSIX APIs
zephyr_compile_options(-D_POSIX_C_SOURCE=200809)
# Link to C library and libgcc (on non-armclang toolchains)
if(${ZEPHYR_TOOLCHAIN_VARIANT} STREQUAL "armclang")