zephyr/lib/libc
Keith Packard 7962dcb288 picolibc: Disable LTO while building picolibc bits
The compiler requires that much of the C library be built without using LTO
so that various symbols are available for use by generated code, including
things like memset and memcpy.

Add -fno-lto when building both picolibc itself as well as the Zephyr
interface bits.

Closes: #81674

Signed-off-by: Keith Packard <keithp@keithp.com>
2024-12-20 00:49:56 +01:00
..
arcmwdt libc: arcmwdt: increase the number of preallocated locks 2024-12-03 02:37:16 +01:00
armstdc arch: deprecate _current 2024-11-23 20:12:24 -05:00
common lib: libc: common: time: Add toolchain include 2024-09-26 13:31:03 -05:00
minimal lib: libc: select POSIX_C_LANG_SUPPORT_R 2024-12-10 08:06:25 +01:00
newlib cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00
picolibc picolibc: Disable LTO while building picolibc bits 2024-12-20 00:49:56 +01:00
CMakeLists.txt lib: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
Kconfig lib: libc: newlib: Don't replace newlib libc time _r functions 2024-12-10 08:06:25 +01:00