1 |
commit: 738f0a65389a1d424a80f6e622d84da62c68ab46 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 28 14:19:46 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 28 15:38:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738f0a65 |
7 |
|
8 |
net-analyzer/netperf: Set CFLAGS=-fcommon |
9 |
|
10 |
Package-Manager: Portage-2.3.85, Repoman-2.3.20 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=706694 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/netperf/netperf-2.7.0-r2.ebuild | 12 +++++++----- |
15 |
1 file changed, 7 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/netperf/netperf-2.7.0-r2.ebuild b/net-analyzer/netperf/netperf-2.7.0-r2.ebuild |
18 |
index bc9406377f4..86849c8d0dd 100644 |
19 |
--- a/net-analyzer/netperf/netperf-2.7.0-r2.ebuild |
20 |
+++ b/net-analyzer/netperf/netperf-2.7.0-r2.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
@@ -39,14 +39,16 @@ src_prepare() { |
28 |
doc/examples/udp_stream_script \ |
29 |
|| die |
30 |
|
31 |
- # netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’ |
32 |
- # nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’ |
33 |
- append-cppflags -D_GNU_SOURCE |
34 |
- |
35 |
eapply_user |
36 |
} |
37 |
|
38 |
src_configure() { |
39 |
+ append-cflags -fcommon |
40 |
+ |
41 |
+ # netlib.c:2292:5: warning: implicit declaration of function ‘sched_setaffinity’ |
42 |
+ # nettest_omni.c:2943:5: warning: implicit declaration of function ‘splice’ |
43 |
+ append-cppflags -D_GNU_SOURCE |
44 |
+ |
45 |
econf \ |
46 |
$(use_enable demo) \ |
47 |
$(use_enable sctp) |