From 05dc1848c13f350d21f22d6397e98a53abe97fdf0d0090cdcebe1f7bbe759562 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 19 Jun 2020 06:39:15 +0000 Subject: [PATCH] Accepting request 815674 from home:polslinux:branches:graphics - Add -fcommon to allow building against GCC10 OBS-URL: https://build.opensuse.org/request/show/815674 OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=7 --- siril.changes | 5 +++++ siril.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/siril.changes b/siril.changes index bba6c68..9148434 100644 --- a/siril.changes +++ b/siril.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 18 07:04:56 UTC 2020 - Paolo Stivanin + +- Add -fcommon to allow building against GCC10 + ------------------------------------------------------------------- Mon Mar 23 00:03:21 UTC 2020 - Marcus Rueckert diff --git a/siril.spec b/siril.spec index 3d2292b..0b74e59 100644 --- a/siril.spec +++ b/siril.spec @@ -56,7 +56,8 @@ automatically or manually, stack them and enhance final images. %setup -q %build -#autoreconf --install +export CFLAGS="%(echo %{optflags}) -fcommon" +export CXXFLAGS="$CFLAGS" NOCONFIGURE=yes ./autogen.sh %configure %make_build