Accepting request 813450 from home:polslinux:branches:security

- Add -fcommon in order to fix building with GCC10

OBS-URL: https://build.opensuse.org/request/show/813450
OBS-URL: https://build.opensuse.org/package/show/security/argus?expand=0&rev=26
This commit is contained in:
Robert Frohl 2020-06-17 14:09:11 +00:00 committed by Git OBS Bridge
parent ffda523b4a
commit 5a1fec4f03
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 11 10:01:06 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Add -fcommon in order to fix building with GCC10
-------------------------------------------------------------------
Thu Mar 21 10:43:52 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package argus
#
# 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
@ -22,7 +22,7 @@ Release: 0
Summary: Network Monitoring Tool
License: GPL-2.0-only AND LGPL-2.1-only AND BSD-3-Clause AND MIT
Group: Productivity/Networking/Diagnostic
Url: http://www.qosient.com/argus/
URL: http://www.qosient.com/argus/
Source: http://qosient.com/argus/src/%{name}-%{version}.tar.gz
Source3: README.SUSE
Source4: argus_linux.8.gz
@ -62,7 +62,7 @@ cp %{SOURCE4} man/man8/
%build
#autoreconf -fiv
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CFLAGS="%{optflags} -fno-strict-aliasing -fcommon"
%configure --with-pic
make %{?_smp_mflags}
@ -103,7 +103,8 @@ chmod a+x support/{Archive/argusarchive,Startup/argus}
%files server
%defattr(-,root,root)
%doc doc COPYING MANIFEST README.* support
%doc doc MANIFEST README.* support
%license COPYING
%{_mandir}/man*/*
%config %{_sysconfdir}/argus.conf
%{_unitdir}/argus.service