* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netperf/
@ 2020-01-28 15:38 99% Jeroen Roovers
0 siblings, 0 replies; 1+ results
From: Jeroen Roovers @ 2020-01-28 15:38 UTC (permalink / raw
To: gentoo-commits
commit: 738f0a65389a1d424a80f6e622d84da62c68ab46
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 14:19:46 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 15:38:24 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738f0a65
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 <jer <AT> gentoo.org>
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 bc9406377f4..86849c8d0dd 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)
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-28 15:38 99% [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netperf/ Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox