summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-08-13 14:54:12 +0000
committermillert <millert@openbsd.org>2004-08-13 14:54:12 +0000
commit01d6fdd5f6fe7fcdadee71dfe179b2f3ded06a94 (patch)
tree54239d8c06257f096ac43e0d74ec0e6b94400963
parentChange an assert into a loop termination condition. Fixes a core (diff)
downloadwireguard-openbsd-01d6fdd5f6fe7fcdadee71dfe179b2f3ded06a94.tar.xz
wireguard-openbsd-01d6fdd5f6fe7fcdadee71dfe179b2f3ded06a94.zip
When running regex regress build a private copy with REDEBUG enabled.
That way we get the asserts enabled.
-rw-r--r--regress/lib/libc/regex/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libc/regex/Makefile b/regress/lib/libc/regex/Makefile
index a29686bca41..271debb5d35 100644
--- a/regress/lib/libc/regex/Makefile
+++ b/regress/lib/libc/regex/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.5 2002/09/02 20:01:43 avsm Exp $
+# $OpenBSD: Makefile,v 1.6 2004/08/13 14:54:12 millert Exp $
# $NetBSD: Makefile,v 1.2 1995/02/16 19:38:45 cgd Exp $
PROG= re
-SRCS= main.c split.c debug.c
+SRCS= main.c split.c debug.c regcomp.c regerror.c regexec.c regfree.c
+.PATH: ${.CURDIR}/../../../../lib/libc/regex
-CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex
+CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex -DREDEBUG -DPOSIX_MISTAKE
TESTS= ${.CURDIR}/tests