net-analyzer/yersinia: Set CFLAGS=-fcommon
authorJeroen Roovers <jer@gentoo.org>
Tue, 28 Jan 2020 15:30:23 +0000 (16:30 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 28 Jan 2020 15:38:24 +0000 (16:38 +0100)
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Closes: https://bugs.gentoo.org/706724
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-analyzer/yersinia/yersinia-0.8.2.ebuild

index 4ec918539c0fc14d3734ba99d3f757be6f3e4352..669aa0df22900ce4e50e766ea6ac4789292fbe01 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="A framework for layer 2 attacks"
 HOMEPAGE="http://www.yersinia.net/"
@@ -45,6 +45,8 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cflags -fcommon
+
        econf \
                --enable-admin \
                --with-pcap-includes=/usr/include \