summaryrefslogtreecommitdiff
path: root/package/iperf/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
commit46b2bb3001ce838ba2483a08418587d8a027f3a9 (patch)
treeb2b618839b5afcc859fcb90556e6f199d9a9a10c /package/iperf/Makefile
parent88d3e6d6c572143bd95a589a44e30bfefd616b88 (diff)
parent902ee7e7b23751ca7a8264d36a837aa4aae12032 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/iperf/Makefile')
-rw-r--r--package/iperf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/iperf/Makefile b/package/iperf/Makefile
index 7a4f70994..a8db48d59 100644
--- a/package/iperf/Makefile
+++ b/package/iperf/Makefile
@@ -12,12 +12,17 @@ PKG_SECTION:= net
PKG_DEPENDS:= libpthread
PKG_URL:= http://sourceforge.net/projects/iperf
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=iperf/}
+PKG_NEED_CXX:= 1
PKG_CXX:= IPERF
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPERF,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
+TLDFLAGS+= -lssp
+endif
+
ifeq ($(ADK_COMPILE_IPERF_WITH_UCLIBCXX),y)
TCXXFLAGS+= -fno-builtin -fno-rtti -nostdinc++
TLDFLAGS+= -nodefaultlibs