summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/lib/libexpat/Makefile.inc8
-rw-r--r--regress/lib/libexpat/runtests/Makefile4
-rw-r--r--regress/lib/libexpat/runtestspp/Makefile4
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>