From 738f0a65389a1d424a80f6e622d84da62c68ab46 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 28 Jan 2020 15:19:46 +0100 Subject: [PATCH] net-analyzer/netperf: Set CFLAGS=-fcommon Package-Manager: Portage-2.3.85, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=706694 Signed-off-by: Jeroen Roovers --- net-analyzer/netperf/netperf-2.7.0-r2.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/net-analyzer/netperf/netperf-2.7.0-r2.ebuild b/net-analyzer/netperf/netperf-2.7.0-r2.ebuild index bc9406377f40..86849c8d0dd7 100644 --- a/net-analyzer/netperf/netperf-2.7.0-r2.ebuild +++ b/net-analyzer/netperf/netperf-2.7.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -39,14 +39,16 @@ src_prepare() { doc/examples/udp_stream_script \ || die - # netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’ - # nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’ - append-cppflags -D_GNU_SOURCE - eapply_user } src_configure() { + append-cflags -fcommon + + # netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’ + # nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’ + append-cppflags -D_GNU_SOURCE + econf \ $(use_enable demo) \ $(use_enable sctp) -- 2.26.2