summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2012-11-06 00:22:27 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2012-11-06 00:22:27 +0000
commit6849461451065e29fc0110f1e7ca1e598f15db3a (patch)
treec33ec4ed89752a75d32e25c1e43ffc848c98e8a1 /regress/lib
parent2af4a4fa332132901611faffcd11bd4eedc93639 (diff)
temporarily fix the static tests in testall by using NOPIE_LDFLAGS.
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libpthread/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/lib/libpthread/Makefile b/regress/lib/libpthread/Makefile
index 4d6161fd314..30b9b7b5597 100644
--- a/regress/lib/libpthread/Makefile
+++ b/regress/lib/libpthread/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.40 2012/08/19 18:55:55 fgsch Exp $
+# $OpenBSD: Makefile,v 1.41 2012/11/06 00:22:26 fgsch Exp $
# disabled because it requires a buggy behavior that uthread had:
# dup2_race
@@ -25,7 +25,7 @@ testall:
rm -f /tmp/thread-{shared,static,debug}
make cleandir && make obj && make depend && \
REGRESS_LOG=/tmp/thread-shared make
- (export LDFLAGS=-static; make clean && \
+ (export LDFLAGS="-static ${NOPIE_LDFLAGS}"; make clean && \
REGRESS_LOG=/tmp/thread-static make)
(export DEBUG=-g; make clean && \
REGRESS_LOG=/tmp/thread-debug make)
@@ -49,4 +49,5 @@ testall:
echo "No DEBUG lib failures"; \
fi)
+.include <bsd.own.mk>
.include <bsd.subdir.mk>