summaryrefslogtreecommitdiff
path: root/net-analyzer/netperf/netperf-2.7.0-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /net-analyzer/netperf/netperf-2.7.0-r2.ebuild
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'net-analyzer/netperf/netperf-2.7.0-r2.ebuild')
-rw-r--r--net-analyzer/netperf/netperf-2.7.0-r2.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/net-analyzer/netperf/netperf-2.7.0-r2.ebuild b/net-analyzer/netperf/netperf-2.7.0-r2.ebuild
index 99c1d045b092..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
@@ -6,7 +6,7 @@ inherit eutils flag-o-matic user
DESCRIPTION="Network performance benchmark"
SRC_URI="ftp://ftp.netperf.org/${PN}/${P}.tar.bz2"
-KEYWORDS="alpha amd64 arm64 hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm64 hppa ia64 ppc ppc64 sparc x86"
HOMEPAGE="http://www.netperf.org/"
LICENSE="netperf"
@@ -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)