summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-02-01 01:01:56 +0100
committerJeroen Roovers <jer@gentoo.org>2020-02-01 01:02:53 +0100
commitd143d34e164882fed1656841e579b7ef948bb5ac (patch)
tree296c8ccd9c9fd8cea9bd3036f858dbee08383d9d /net-analyzer/nstats
parentapp-misc/spacenavd: Support GCC 10 (diff)
downloadgentoo-d143d34e164882fed1656841e579b7ef948bb5ac.tar.gz
gentoo-d143d34e164882fed1656841e579b7ef948bb5ac.tar.bz2
gentoo-d143d34e164882fed1656841e579b7ef948bb5ac.zip
net-analyzer/nstats: Set CFLAGS=-fcommon
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=707488 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/nstats')
-rw-r--r--net-analyzer/nstats/nstats-0.4-r3.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/nstats/nstats-0.4-r3.ebuild b/net-analyzer/nstats/nstats-0.4-r3.ebuild
index 06b4455c4cf1..8a5efdfe1627 100644
--- a/net-analyzer/nstats/nstats-0.4-r3.ebuild
+++ b/net-analyzer/nstats/nstats-0.4-r3.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="Displays statistics about ethernet traffic including protocol breakdown"
SRC_URI="http://trash.net/~reeler/nstats/files/${P}.tar.gz"
@@ -29,6 +29,10 @@ DOCS=( BUGS doc/TODO doc/ChangeLog )
src_prepare(){
default
-
eautoreconf
}
+
+src_configure() {
+ append-cflags -fcommon
+ default
+}