Skip to content
Commit 7962dcb2 authored by Keith Packard's avatar Keith Packard Committed by Benjamin Cabé
Browse files

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: default avatarKeith Packard <keithp@keithp.com>
parent f786ecc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment