Remove -fcommon build workaround

This was fixed in mesa at some point.
This commit is contained in:
Pete Walter 2020-09-03 18:19:39 +01:00
parent 3839c9c0fd
commit 670d54fa71

View File

@ -52,7 +52,7 @@ Name: mesa
Summary: Mesa graphics libraries
%global ver 20.2.0-rc3
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
URL: http://www.mesa3d.org
@ -329,10 +329,6 @@ sed -i -e 's/import xml.etree.cElementTree/import xml.etree.ElementTree/g' \
# Disable LTO for now
%define _lto_cflags %{nil}
# Build with -fcommon until the omx build with gcc10 is fixed upstream
# https://gitlab.freedesktop.org/mesa/mesa/issues/2385
%global optflags %{optflags} -fcommon
%meson -Dcpp_std=gnu++14 \
-Dplatforms=x11,wayland,drm,surfaceless \
-Ddri3=true \
@ -593,6 +589,9 @@ popd
%endif
%changelog
* Thu Sep 03 2020 Pete Walter <pwalter@fedoraproject.org> - 20.2.0~rc3-2
- Remove -fcommon build workaround
* Sat Aug 29 20:21:42 BST 2020 Pete Walter <pwalter@fedoraproject.org> - 20.2.0~rc3-1
- Update to 20.2.0~rc3