projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
354a37f
)
iperf: fix g++-uc override, add -lpthread explicitly for iperf-mt
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 26 Jan 2011 13:49:28 +0000
(13:49 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 26 Jan 2011 13:49:28 +0000
(13:49 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25114
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
net/iperf/Makefile
patch
|
blob
|
history
diff --git
a/net/iperf/Makefile
b/net/iperf/Makefile
index
a173b7d
..
473c062
100644
(file)
--- a/
net/iperf/Makefile
+++ b/
net/iperf/Makefile
@@
-67,9
+67,13
@@
else
CONFIGURE_VARS += ac_cv_func_pthread_cancel=no
endif
-CONFIGURE_VARS += \
- CXX="g++-uc" \
- CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
+TARGET_CXX=g++-uc
+
+CONFIGURE_VARS += CXXFLAGS="$$$$CXXFLAGS -fno-rtti"
+
+ifeq ($(BUILD_VARIANT),mt)
+ CONFIGURE_VARS += LIBS="-lpthread"
+endif
define Package/iperf/install
$(INSTALL_DIR) $(1)/usr/bin