From 78f134d9195c78a1ba02d50678cc5c799b47095ad5f95fd79a9af2a034cc4d70 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 12 Jan 2020 22:54:27 +0000 Subject: [PATCH] - Temporarily work around -fno-common build failure [boo#1160382]. OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=99 --- SDL2.changes | 5 +++++ SDL2.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SDL2.changes b/SDL2.changes index 9f335a9..8f5eda7 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 12 22:53:50 UTC 2020 - Jan Engelhardt + +- Temporarily work around -fno-common build failure [boo#1160382]. + ------------------------------------------------------------------- Wed Oct 9 13:34:31 UTC 2019 - Stefan Dirsch diff --git a/SDL2.spec b/SDL2.spec index 51e98ac..f109416 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,7 +1,7 @@ # # spec file for package SDL2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -131,7 +131,8 @@ dos2unix COPYING.txt %ifarch ix86 --enable-sse2=no \ %endif - --enable-sse3=no --disable-rpath --disable-3dnow + --enable-sse3=no --disable-rpath --disable-3dnow \ + CFLAGS="%optflags -fcommon" make %{?_smp_mflags} V=1 %install