iperf: fix g++-uc override, add -lpthread explicitly for iperf-mt

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25114 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-01-26 13:49:28 +00:00
parent 354a37fdac
commit 8f1ed5b3f9

View File

@ -67,9 +67,13 @@ else
CONFIGURE_VARS += ac_cv_func_pthread_cancel=no CONFIGURE_VARS += ac_cv_func_pthread_cancel=no
endif endif
CONFIGURE_VARS += \ TARGET_CXX=g++-uc
CXX="g++-uc" \
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \ CONFIGURE_VARS += CXXFLAGS="$$$$CXXFLAGS -fno-rtti"
ifeq ($(BUILD_VARIANT),mt)
CONFIGURE_VARS += LIBS="-lpthread"
endif
define Package/iperf/install define Package/iperf/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin