forked from bartvdbraak/blender
Build: disable LTO for Python builds
LTO compiled libpython3.10.a failed to link with GCC 12.0, disable since these libraries are intended for developers to link against.
This commit is contained in:
parent
f222fe6a3a
commit
0e196bab76
@ -95,8 +95,9 @@ else()
|
||||
# Used on most release Linux builds (Fedora for e.g.),
|
||||
# increases build times noticeably with the benefit of a modest speedup at runtime.
|
||||
--enable-optimizations
|
||||
# Also used for Fedora's release builds.
|
||||
--with-lto
|
||||
# While LTO is OK when building on the same system, it's incompatible across GCC versions,
|
||||
# making it impractical for developers to build against, so keep it disabled.
|
||||
# `--with-lto`
|
||||
)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user