zephyr/lib
Joel Holdsworth 1b399d78fc picolibc: Replace hard coded -fno-lto flag
GCC versions before 4.5 do not have the -fno-lto flag and give an error if
it is used. The flag may also be unavailable on various other non-GCC
compilers.

Previously, the picolibc CMakeList.txt script assumed that the flag was
available, and hard-coded it as an addition to the compiler flags.

This patch improves compatibility by making use of the already existing
"prohibit_lto" CMake target compiler property, which is set to the
appropriate flag to disable LTO support, or unset if the compiler lacks
such an option.

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
2025-01-27 13:24:52 +01:00
..
acpi
cpp cmake: set minimal C++ linker properties in minimal C++ CMake impl 2024-11-16 15:28:20 -05:00
crc
hash
heap kernel: sys_heap: stats: save heap pointers to an array during init 2025-01-23 16:37:33 +01:00
libc picolibc: Replace hard coded -fno-lto flag 2025-01-27 13:24:52 +01:00
mem_blocks
net_buf net: buf: revert disallowing blocking in syswq 2025-01-23 10:14:59 +01:00
open-amp
os Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
posix posix: options: shm: use truncation flag that has been added 2025-01-23 00:12:58 +01:00
runtime
smf lib: smf: Fix handled bug causing events to not propagate. 2025-01-23 19:24:08 +01:00
utils ring_buffer: factorize almost identical code 2025-01-25 01:40:03 +01:00
CMakeLists.txt
Kconfig