zephyr/lib/libc/picolibc
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
..
assert.c libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00
cbprintf.c libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00
chk_fail.c libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00
CMakeLists.txt picolibc: Disable LTO while building picolibc bits 2024-12-20 00:49:56 +01:00
errno_wrap.c libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00
exit.c libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00
Kconfig lib/libc: picolibc: select its source with Kconfig choice 2024-07-09 17:29:12 -04:00
locks.c libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00
picolibc-hooks.h libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00
stdio.c libc/picolibc: Split hooks into separate files 2024-11-16 13:50:16 -05:00