mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Revert "Enable LTO"
This reverts commit f30b507b28
.
Disabling LTO again as it is causing issues:
- https://bugzilla.redhat.com/show_bug.cgi?id=2261845
- https://bugzilla.redhat.com/show_bug.cgi?id=2262065
This commit is contained in:
parent
f30b507b28
commit
49e0793310
1 changed files with 5 additions and 0 deletions
|
@ -388,6 +388,11 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/"
|
|||
%rewrite_wrap_file unicode-ident
|
||||
%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 \
|
||||
-Dplatforms=x11,wayland \
|
||||
-Ddri3=enabled \
|
||||
|
|
Loading…
Reference in a new issue