summaryrefslogtreecommitdiff
path: root/recipes/iperf/iperf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/iperf/iperf.inc')
-rw-r--r--recipes/iperf/iperf.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/recipes/iperf/iperf.inc b/recipes/iperf/iperf.inc
index f409c17240..138ba292bd 100644
--- a/recipes/iperf/iperf.inc
+++ b/recipes/iperf/iperf.inc
@@ -2,17 +2,22 @@ SECTION = "console/network"
DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics"
HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/"
LICENSE = "BSD"
-PR = "r0"
+INC_PR = "r1"
inherit autotools
S="${WORKDIR}/iperf-${PV}"
+EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
+
# --disable-threads is needed on epia/x86 with uclibc
+# RIK: or probably not with recent uclibc with NPTL
+EXTRA_OECONF_append_epia = " --disable-threads"
+
do_configure() {
export ac_cv_func_malloc_0_nonnull=yes
gnu-configize
- oe_runconf --exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix} --disable-threads
+ oe_runconf
}
do_compile() {