workaround bug with gcc 8.2.1-4

This commit is contained in:
Dave Airlie 2018-11-06 09:26:10 +10:00
parent 1cfc765493
commit fcab6854c8

View File

@ -43,7 +43,7 @@ Name: mesa
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
%global ver 18.2.4 %global ver 18.2.4
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
@ -349,6 +349,9 @@ autoreconf -vfi
%global asm_flags --disable-asm %global asm_flags --disable-asm
%endif %endif
#workaround store merging bug in gcc 8.2.1-4 (#1645400)
export CFLAGS="%{optflags} -fno-store-merging"
export CXXFLAGS="%{optflags} -fno-store-merging"
%configure \ %configure \
%{?asm_flags} \ %{?asm_flags} \
--enable-libglvnd \ --enable-libglvnd \
@ -618,6 +621,9 @@ popd
%{_includedir}/vulkan/ %{_includedir}/vulkan/
%changelog %changelog
* Tue Nov 06 2018 Dave Airlie <airlied@redhat.com> - 18.2.4-2
- workaround bug with gcc 8.2.1-4
* Thu Nov 01 2018 Adam Jackson <ajax@redhat.com> 18.2.4-1 * Thu Nov 01 2018 Adam Jackson <ajax@redhat.com> 18.2.4-1
- Update to 18.2.4 - Update to 18.2.4