summaryrefslogtreecommitdiff
path: root/benchmarks/netio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-08-10 06:57:07 +0000
committertron <tron@pkgsrc.org>2005-08-10 06:57:07 +0000
commit2aa2085c989942ed197ce954add56f852fecb23e (patch)
tree357d27296565262791280c817088dc5a1f4c82d0 /benchmarks/netio
parentada0e43e0b89f492365bca507c795cfd971d6346 (diff)
downloadpkgsrc-2aa2085c989942ed197ce954add56f852fecb23e.tar.gz
Use "PTHREAD_LIBS" in build phase to make sure that this builds on
platforms without a "-pthread" option supported by the compiler.
Diffstat (limited to 'benchmarks/netio')
-rw-r--r--benchmarks/netio/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/netio/Makefile b/benchmarks/netio/Makefile
index 4855389f4c0..45572397b59 100644
--- a/benchmarks/netio/Makefile
+++ b/benchmarks/netio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/08/09 22:47:09 tron Exp $
+# $NetBSD: Makefile,v 1.12 2005/08/10 06:57:07 tron Exp $
DISTNAME= netio123
PKGNAME= netio-1.23
@@ -16,7 +16,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
MAKE_FLAGS+= CC="${CC}" CFLAGS="-DUNIX ${PTHREAD_CFLAGS} ${CFLAGS}" \
LFLAGS="${PTHREAD_LDFLAGS} ${LDFLAGS}" \
- LIBS="${LIBS}" O=.o OUT=-o X=
+ LIBS="${PTHREAD_LIBS} ${LIBS}" O=.o OUT=-o X=
.include "../../mk/bsd.prefs.mk"