Skip to content
Commit 4a0539af authored by Matthias Plöger's avatar Matthias Plöger Committed by Benjamin Cabé
Browse files

libc: minimal: Add "prohibit_lto" flag to avoid problems with LTO



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 the "prohibit_lto" CMake target compiler property to avoid LTO when
activated.

Signed-off-by: default avatarMatthias Plöger <matthias.ploeger@phoenixcontact.com>
parent c68d0b96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment