diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-07-12 11:42:58 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-07-12 11:42:58 +0000 |
commit | cf5415601865a11c738fca4708629d11db36ac9c (patch) | |
tree | c3c0b241f898c39672e82e3f92d3d5cd5e678ee2 /regress | |
parent | 3cc28fcf747141faea1200e549a2e51c0ad8885e (diff) |
more pthread
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/libtool/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/usr.bin/libtool/Makefile b/regress/usr.bin/libtool/Makefile index 234d95864f7..fff511caa85 100644 --- a/regress/usr.bin/libtool/Makefile +++ b/regress/usr.bin/libtool/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.27 2012/07/11 14:24:36 espie Exp $ +# $OpenBSD: Makefile,v 1.28 2012/07/12 11:42:57 espie Exp $ REGRESS_TARGETS = test-compile-0 test-link-0 test-install-0 \ test-run-0 test-link-1 test-install-1 test-run-1 \ test-link-2 test-link-3 test-run-2 test-run-3 \ error-1 error-2 error-3 test-alternate-0 \ test-implicit-0 test-run-4 test-implicit-1 \ test-help error-4 error-6 test-bond test-implicit-2 \ - test-Wc test-Xcompiler stupid-gdb pthread-0 pthread-1 + test-Wc test-Xcompiler stupid-gdb pthread-0 pthread-1 \ + pthread-2 COMPILE_TESTS = compile-mode-0 compile-mode-1 compile-mode-2 \ compile-mode-3 compile-mode-4 compile-mode-5 \ @@ -241,6 +242,11 @@ pthread-1: e.lo liba2.la @fgrep -q -- -pthread out.14 @if grep -q -- "-pthread.*-pthread" out.14; then exit 1; fi +pthread-2: e.lo + ${LIBTOOL} --mode=link ${CC} -o e -pthread -pthread e.lo |tee out.15 + @fgrep -q -- -pthread out.15 + @if grep -q -- "-pthread.*-pthread" out.15; then exit 1; fi + release-0: liba3.la test -f .libs/liba3-0.so.0.0 || exit 1 |