net-misc/ipsorcery: Set CFLAGS=-fcommon
authorJeroen Roovers <jer@gentoo.org>
Tue, 4 Feb 2020 17:30:10 +0000 (18:30 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 4 Feb 2020 17:30:36 +0000 (18:30 +0100)
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=708232
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-misc/ipsorcery/ipsorcery-2.0.9-r2.ebuild

index f937dc446a400849feef39e653a032d256ccf91e..3598a8d8e95e73220aa99f91ee2e4be618ddf0f0 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Ipsorcery allows you to generate IP, TCP, UDP, ICMP, and IGMP packets"
 HOMEPAGE="https://www.gentoo.org/"
@@ -29,6 +29,7 @@ PATCHES=(
 )
 
 src_compile() {
+       append-cflags -fcommon
        emake \
                CC="$(tc-getCC)" \
                PKG_CONFIG=$(tc-getPKG_CONFIG) \