summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3/0001-configure.ac-check-for-CPP-prog.patch31
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3_3.9.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/0001-configure.ac-check-for-CPP-prog.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-configure.ac-check-for-CPP-prog.patch
new file mode 100644
index 0000000000..739fd20fc5
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-configure.ac-check-for-CPP-prog.patch
@@ -0,0 +1,31 @@
1From cc4499cd4cfcb655fc44c3f3571eee20663dafde Mon Sep 17 00:00:00 2001
2From: Andrey Zhizhikin <andrey.z@gmail.com>
3Date: Wed, 3 Feb 2021 20:44:34 +0000
4Subject: [PATCH] configure.ac: check for CPP prog
5
6Absence of check for CPP_PROG causes following build errors:
7| checking TCP_CONGESTION socket option... ../git/configure: line 14427: CPP: command not found
8| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found
9| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found
10
11Upstream-Status: Pending
12Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
13---
14 configure.ac | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/configure.ac b/configure.ac
18index 939cf0a..f75b398 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -47,6 +47,7 @@ AC_CANONICAL_HOST
22 # Checks for tools: c compiler, ranlib (used for creating static libraries),
23 # symlinks and libtool
24 AC_PROG_CC
25+AC_PROG_CPP
26 AC_PROG_RANLIB
27 AC_PROG_LN_S
28 AC_PROG_LIBTOOL
29--
302.17.1
31
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.9.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.9.bb
index d969555c2c..be75837beb 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.9.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.9.bb
@@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b7fb682e9941a49f1214dcd7441410d7"
13 13
14SRC_URI = "git://github.com/esnet/iperf.git \ 14SRC_URI = "git://github.com/esnet/iperf.git \
15 file://0002-Remove-pg-from-profile_CFLAGS.patch \ 15 file://0002-Remove-pg-from-profile_CFLAGS.patch \
16 file://0001-configure.ac-check-for-CPP-prog.patch \
16 " 17 "
17 18
18SRCREV = "1f8fb13297f3e3e40169ebcd12e171167e394473" 19SRCREV = "1f8fb13297f3e3e40169ebcd12e171167e394473"