Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. (cherry picked from commit 7962dcb) Original-Closes: #81674 Original-Signed-off-by: Keith Packard <keithp@keithp.com> GitOrigin-RevId: 7962dcb Cr-Build-Id: 8728038781288827393 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8728038781288827393 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I301f4984ac73b7f9490d031503be525ae794569d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6113915 Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Reviewed-by: Dawid Niedźwiecki <dawidn@google.com> Tested-by: Dawid Niedźwiecki <dawidn@google.com> Commit-Queue: Jonathon Murphy <jpmurphy@google.com>
- Loading branch information