zephyr/lib/libc
Jonathon Penix e020f31fdb cmake: libc: minimal: Avoid linking against other libc implementations
The minimal libc is currently built as a zephyr_library and will be
included in the final link line as such. However, the c_library property
will still be set as "-lc" (for most linkers) and will be added to the
link line. This effectively requires that a separate libc implementation
be available in the toolchain and makes it possible to accidentally pull
from the non-minimal libc.

This doesn't seem desirable, so try to prevent this by clearing the
c_library property if we are using the minimal libc.

Signed-off-by: Jonathon Penix <jpenix@quicinc.com>
2024-10-30 14:29:37 -05:00
..
arcmwdt
armstdc
common lib: libc: common: time: Add toolchain include 2024-09-26 13:31:03 -05:00
minimal cmake: libc: minimal: Avoid linking against other libc implementations 2024-10-30 14:29:37 -05:00
newlib cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00
picolibc cmake: move specs compiler and linker flags to toolchain properties 2024-10-04 16:34:35 +01:00
CMakeLists.txt
Kconfig libc/picolibc: Don't replace picolibc time _r functions 2024-09-16 20:17:35 +02:00