From: bluhm Date: Thu, 6 Jul 2017 13:11:15 +0000 (+0000) Subject: Link the runtests programs statically and explain why. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4d595681b11436e0126e62f5bf85c2c741354566;p=openbsd Link the runtests programs statically and explain why. --- diff --git a/regress/lib/libexpat/Makefile.inc b/regress/lib/libexpat/Makefile.inc index cc8d1aed563..ed6937428f9 100644 --- a/regress/lib/libexpat/Makefile.inc +++ b/regress/lib/libexpat/Makefile.inc @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.1.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 bc37ec03c3b..97c6786eea1 100644 --- a/regress/lib/libexpat/runtests/Makefile +++ b/regress/lib/libexpat/runtests/Makefile @@ -1,5 +1,7 @@ -# $OpenBSD: Makefile,v 1.1.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 diff --git a/regress/lib/libexpat/runtestspp/Makefile b/regress/lib/libexpat/runtestspp/Makefile index 9baae155051..e32f015186a 100644 --- a/regress/lib/libexpat/runtestspp/Makefile +++ b/regress/lib/libexpat/runtestspp/Makefile @@ -1,5 +1,7 @@ -# $OpenBSD: Makefile,v 1.1.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