summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/iperf/iperf.inc1
-rw-r--r--recipes/iperf/iperf_2.0.4.bb4
2 files changed, 5 insertions, 0 deletions
diff --git a/recipes/iperf/iperf.inc b/recipes/iperf/iperf.inc
index 07a8064744..f409c17240 100644
--- a/recipes/iperf/iperf.inc
+++ b/recipes/iperf/iperf.inc
@@ -10,6 +10,7 @@ S="${WORKDIR}/iperf-${PV}"
# --disable-threads is needed on epia/x86 with uclibc
do_configure() {
+ export ac_cv_func_malloc_0_nonnull=yes
gnu-configize
oe_runconf --exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix} --disable-threads
}
diff --git a/recipes/iperf/iperf_2.0.4.bb b/recipes/iperf/iperf_2.0.4.bb
new file mode 100644
index 0000000000..4d505e10e5
--- /dev/null
+++ b/recipes/iperf/iperf_2.0.4.bb
@@ -0,0 +1,4 @@
+require iperf.inc
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/iperf/iperf-${PV}.tar.gz"
+