From cd0ffb43a3ceece64077b25ad1dfaa8ef139d1f4e101712b1826fc90039bd3a5 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 22 Apr 2020 08:42:54 +0000 Subject: [PATCH] Accepting request 796150 from home:marxin:branches:Base:System - Add -fcommon in order to fix boo#1160411. OBS-URL: https://build.opensuse.org/request/show/796150 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=94 --- pcp.changes | 5 +++++ pcp.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/pcp.changes b/pcp.changes index e893ad3..f34efc4 100644 --- a/pcp.changes +++ b/pcp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 22 04:21:13 UTC 2020 - Martin Liška + +- Add -fcommon in order to fix boo#1160411. + ------------------------------------------------------------------- Fri Mar 27 09:43:05 UTC 2020 - Antonio Larrosa diff --git a/pcp.spec b/pcp.spec index 96a4b1b..1979e6a 100644 --- a/pcp.spec +++ b/pcp.spec @@ -2305,6 +2305,7 @@ rm -Rf $RPM_BUILD_ROOT %build %define _lto_cflags %{nil} +%global optflags %{optflags} -fcommon %if 0%{?suse_version} # in case we're building without os-release (bsc#1123311)... export PACKAGE_DISTRIBUTION="suse"