diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-06 13:11:16 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-06 13:11:16 +0000 |
commit | 26b72acc6e7facfe5ab7b1f2b88c098b80b30afe (patch) | |
tree | 17763e92f1294ff78f3202e6a08e7ff703b4022d /regress | |
parent | b426afa2604cbc2ee4d2f11108e21498fc4ab149 (diff) |
Link the runtests programs statically and explain why.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libexpat/Makefile.inc | 8 | ||||
-rw-r--r-- | regress/lib/libexpat/runtests/Makefile | 4 | ||||
-rw-r--r-- | regress/lib/libexpat/runtestspp/Makefile | 4 |
3 files changed, 10 insertions, 6 deletions
diff --git a/regress/lib/libexpat/Makefile.inc b/regress/lib/libexpat/Makefile.inc index 2baa0406a7e..ed6937428f9 100644 --- a/regress/lib/libexpat/Makefile.inc +++ b/regress/lib/libexpat/Makefile.inc @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.1 2017/06/30 14:56:08 bluhm Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2017/07/06 13:11:15 bluhm Exp $ EXPATDIR= ${.CURDIR}/../../../../lib/libexpat .PATH: ${EXPATDIR}/tests ${EXPATDIR}/tests/benchmark PROG= ${.CURDIR:T} -CFLAGS= -g -I${EXPATDIR}/lib -CPPFLAGS= -g -I${EXPATDIR}/lib -LDFLAGS= -g -static +CFLAGS= -I${EXPATDIR}/lib +CPPFLAGS= -I${EXPATDIR}/lib LDADD= -lexpat DPADD= ${LIBEXPAT} +DEBUG?= -g diff --git a/regress/lib/libexpat/runtests/Makefile b/regress/lib/libexpat/runtests/Makefile index b2dd8ae9bb4..97c6786eea1 100644 --- a/regress/lib/libexpat/runtests/Makefile +++ b/regress/lib/libexpat/runtests/Makefile @@ -1,5 +1,7 @@ -# $OpenBSD: Makefile,v 1.1 2017/06/30 14:56:08 bluhm Exp $ +# $OpenBSD: Makefile,v 1.2 2017/07/06 13:11:15 bluhm Exp $ SRCS= runtests.c chardata.c memcheck.c minicheck.c +# align_limit_to_full_utf8_characters is not exported in dynamic library +LDFLAGS= -static .include <bsd.regress.mk> diff --git a/regress/lib/libexpat/runtestspp/Makefile b/regress/lib/libexpat/runtestspp/Makefile index 275e327e4be..e32f015186a 100644 --- a/regress/lib/libexpat/runtestspp/Makefile +++ b/regress/lib/libexpat/runtestspp/Makefile @@ -1,5 +1,7 @@ -# $OpenBSD: Makefile,v 1.1 2017/06/30 14:56:08 bluhm Exp $ +# $OpenBSD: Makefile,v 1.2 2017/07/06 13:11:15 bluhm Exp $ SRCS= runtestspp.cpp chardata.c memcheck.c minicheck.c +# align_limit_to_full_utf8_characters is not exported in dynamic library +LDFLAGS= -static .include <bsd.regress.mk> |