mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 02:54:51 +00:00
Disable LTO as it appears to break some games (#1862771)
This commit is contained in:
parent
1bf902ecea
commit
f009ee08a5
1 changed files with 8 additions and 1 deletions
|
@ -52,7 +52,7 @@ Name: mesa
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
%global ver 20.1.6
|
%global ver 20.1.6
|
||||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
|
@ -324,6 +324,10 @@ sed -i -e 's/import xml.etree.cElementTree/import xml.etree.ElementTree/g' \
|
||||||
src/intel/vulkan/anv_extensions_gen.py
|
src/intel/vulkan/anv_extensions_gen.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# 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}
|
||||||
|
|
||||||
# Build with -fcommon until the omx build with gcc10 is fixed upstream
|
# Build with -fcommon until the omx build with gcc10 is fixed upstream
|
||||||
# https://gitlab.freedesktop.org/mesa/mesa/issues/2385
|
# https://gitlab.freedesktop.org/mesa/mesa/issues/2385
|
||||||
|
@ -589,6 +593,9 @@ popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 22 2020 Kalev Lember <klember@redhat.com> - 20.1.6-2
|
||||||
|
- Disable LTO as it appears to break some games (#1862771)
|
||||||
|
|
||||||
* Thu Aug 20 2020 Pete Walter <pwalter@fedoraproject.org> - 20.1.6-1
|
* Thu Aug 20 2020 Pete Walter <pwalter@fedoraproject.org> - 20.1.6-1
|
||||||
- Update to 20.1.6
|
- Update to 20.1.6
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue