From a5b2897bd4df00a892adbb28a738c99c5294cab2f5f23493908f4cc2bf67496c Mon Sep 17 00:00:00 2001 From: Maurizio Galli Date: Mon, 8 Jun 2020 10:29:39 +0000 Subject: [PATCH] Accepting request 812481 from home:seife:xfce add -fcommon to CFLAGS to work around gcc10 default changes OBS-URL: https://build.opensuse.org/request/show/812481 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/thunarx-python?expand=0&rev=23 --- thunarx-python.changes | 5 +++++ thunarx-python.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/thunarx-python.changes b/thunarx-python.changes index 01be7ed..7aa48fa 100644 --- a/thunarx-python.changes +++ b/thunarx-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 8 08:08:17 UTC 2020 - Stefan Seyfried + +- add -fcommon to CFLAGS to work around gcc10 default changes + ------------------------------------------------------------------- Tue Mar 17 08:14:09 UTC 2020 - Stefan Seyfried diff --git a/thunarx-python.spec b/thunarx-python.spec index 2d2dcff..c5529d2 100644 --- a/thunarx-python.spec +++ b/thunarx-python.spec @@ -49,6 +49,8 @@ This package provides the documentation files for python thunarx. %autosetup -p1 %build +# gcc10 workaround +export CFLAGS="%{optflags} -fcommon" %configure \ --enable-gtk-doc \ --docdir=%{_defaultdocdir}/%{name}