net-analyzer/nstats: Set CFLAGS=-fcommon
authorJeroen Roovers <jer@gentoo.org>
Sat, 1 Feb 2020 00:01:56 +0000 (01:01 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sat, 1 Feb 2020 00:02:53 +0000 (01:02 +0100)
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>
net-analyzer/nstats/nstats-0.4-r3.ebuild

index 06b4455c4cf14ee050cbf4b106d04cd96bd6abd8..8a5efdfe1627ad61e1db51f78c5972f91cae89a1 100644 (file)
@@ -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
+}