diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch')
-rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch new file mode 100644 index 000000000..06eb41ac0 --- /dev/null +++ b/meta-oe/recipes-benchmark/iperf3/iperf3/0002-Remove-pg-from-profile_CFLAGS.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 6db0e28f906bc3784019dfb5bb011237a8034fda Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 14 Jul 2017 13:00:16 -0700 | ||
4 | Subject: [PATCH 2/2] Remove -pg from profile_CFLAGS | ||
5 | |||
6 | musl fails to link with missing gcrt1.o | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | src/Makefile.am | 4 ++-- | ||
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
14 | index 23b0c72..6268145 100644 | ||
15 | --- a/src/Makefile.am | ||
16 | +++ b/src/Makefile.am | ||
17 | @@ -49,9 +49,9 @@ iperf3_LDFLAGS = -g | ||
18 | iperf3_profile_SOURCES = main.c \ | ||
19 | $(libiperf_la_SOURCES) | ||
20 | |||
21 | -iperf3_profile_CFLAGS = -pg -g | ||
22 | +iperf3_profile_CFLAGS = -g | ||
23 | iperf3_profile_LDADD = libiperf.la | ||
24 | -iperf3_profile_LDFLAGS = -pg -g | ||
25 | +iperf3_profile_LDFLAGS = -g | ||
26 | |||
27 | # Specify the sources and various flags for the test cases | ||
28 | t_timer_SOURCES = t_timer.c | ||
29 | -- | ||
30 | 2.13.3 | ||
31 | |||