aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/iperf
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-05-28 16:22:19 +0400
committerRoman I Khimov <khimov@altell.ru>2010-06-10 23:16:15 +0400
commit6c0ea7eb7299914f5b95b7f2f6743d164d82b62c (patch)
treefbac492a9202544248d1c93df668335f4cdd65ce /recipes/iperf
parenta9d3aed0e3fa4d41908a5052dbcb49fca1f40918 (diff)
downloadopenembedded-6c0ea7eb7299914f5b95b7f2f6743d164d82b62c.tar.gz
openembedded-6c0ea7eb7299914f5b95b7f2f6743d164d82b62c.tar.bz2
openembedded-6c0ea7eb7299914f5b95b7f2f6743d164d82b62c.zip
iperf.inc: don't disable threads for everyone
As per comment in iperf.inc threading was disabled because it doesn't work on one particular configuration. I don't think it's right to cripple everyone's iperf because of that. It also works fine here with NPTL-enabled uclibc, thus limit this hack to epia machine only. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/iperf')
-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..214c1652af 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"
+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() {