Accepting request 812351 from home:mnhauke:security

- Set CFLAGS+=-fcommon

OBS-URL: https://build.opensuse.org/request/show/812351
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/pmacct?expand=0&rev=99
This commit is contained in:
Lars Vogdt
2020-06-11 10:04:54 +00:00
committed by Git OBS Bridge
parent 98ad19dfc1
commit dfa9fb8ae4
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 7 20:37:36 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Set CFLAGS+=-fcommon
-------------------------------------------------------------------
Mon Mar 30 07:47:03 UTC 2020 - Marcus Meissner <meissner@suse.com>

View File

@@ -41,7 +41,7 @@ Source10: nfacctd.conf
Source11: pmacctd.conf
Source12: sfacctd.conf
Source20: pmacct.1
Patch0: pmacct-fix-overflow.patch
Patch0: pmacct-fix-overflow.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libmysqlclient-devel
@@ -81,7 +81,7 @@ chmod -x sql/pmacct-*
%build
autoreconf -fiv
export CFLAGS="%{optflags} -Wno-return-type"
export CFLAGS="%{optflags} -Wno-return-type -fcommon"
%configure \
--sysconfdir=%{_sysconfdir}/%{name} \
--docdir="%{_docdir}/%{name}" \