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
This commit is contained in:
David Disseldorp 2020-04-22 08:42:54 +00:00 committed by Git OBS Bridge
parent 0869e7f616
commit cd0ffb43a3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 22 04:21:13 UTC 2020 - Martin Liška <mliska@suse.cz>
- Add -fcommon in order to fix boo#1160411.
-------------------------------------------------------------------
Fri Mar 27 09:43:05 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -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"