From dfa8e8664d48c487a7a85249e1ddbdd754f6d1b5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 23 Jan 2020 19:10:49 +0000 Subject: [PATCH] Build with -fcommon until upstream fixes omx build with gcc10 --- mesa.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mesa.spec b/mesa.spec index a90d3c9..5de5f5a 100644 --- a/mesa.spec +++ b/mesa.spec @@ -52,7 +52,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 19.3.2 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: http://www.mesa3d.org @@ -326,6 +326,10 @@ cp %{SOURCE1} docs/ %build +# 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 \ @@ -581,6 +585,9 @@ popd %endif %changelog +* Thu Jan 23 2020 Tom Stellard - 19.3.2-2 +- Build with -fcommon until upstream fixes omx build with gcc10 + * Fri Jan 10 2020 Pete Walter - 19.3.2-1 - Update to 19.3.2