Enable LTO
LTO was disabled 3 years ago because it was causing issues with certain applications and games: https://bugzilla.redhat.com/show_bug.cgi?id=1862771 Since then, support for LTO has improved upstream. Re-enable it.
This commit is contained in:
parent
ae25160064
commit
f30b507b28
@ -388,11 +388,6 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/"
|
|||||||
%rewrite_wrap_file unicode-ident
|
%rewrite_wrap_file unicode-ident
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# We've gotten a report that enabling LTO for mesa breaks some games. See
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details.
|
|
||||||
# Disable LTO for now
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
|
|
||||||
%meson \
|
%meson \
|
||||||
-Dplatforms=x11,wayland \
|
-Dplatforms=x11,wayland \
|
||||||
-Ddri3=enabled \
|
-Ddri3=enabled \
|
||||||
|
Loading…
Reference in New Issue
Block a user