summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormillert <>2004-08-13 14:54:12 +0000
committermillert <>2004-08-13 14:54:12 +0000
commite4aafbee1f08b007f2c676ef69c5164cce52f541 (patch)
treeb2f06fe201d6063c84d20954014553d128d11363
parentf46dcdca21346ce7ba72ef74a44ebf46410aca87 (diff)
downloadopenbsd-e4aafbee1f08b007f2c676ef69c5164cce52f541.tar.gz
openbsd-e4aafbee1f08b007f2c676ef69c5164cce52f541.tar.bz2
openbsd-e4aafbee1f08b007f2c676ef69c5164cce52f541.zip
When running regex regress build a private copy with REDEBUG enabled.
That way we get the asserts enabled.
-rw-r--r--src/regress/lib/libc/regex/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/regress/lib/libc/regex/Makefile b/src/regress/lib/libc/regex/Makefile
index a29686bca4..271debb5d3 100644
--- a/src/regress/lib/libc/regex/Makefile
+++ b/src/regress/lib/libc/regex/Makefile
@@ -1,10 +1,11 @@
1# $OpenBSD: Makefile,v 1.5 2002/09/02 20:01:43 avsm Exp $ 1# $OpenBSD: Makefile,v 1.6 2004/08/13 14:54:12 millert Exp $
2# $NetBSD: Makefile,v 1.2 1995/02/16 19:38:45 cgd Exp $ 2# $NetBSD: Makefile,v 1.2 1995/02/16 19:38:45 cgd Exp $
3 3
4PROG= re 4PROG= re
5SRCS= main.c split.c debug.c 5SRCS= main.c split.c debug.c regcomp.c regerror.c regexec.c regfree.c
6.PATH: ${.CURDIR}/../../../../lib/libc/regex
6 7
7CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex 8CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex -DREDEBUG -DPOSIX_MISTAKE
8 9
9TESTS= ${.CURDIR}/tests 10TESTS= ${.CURDIR}/tests
10 11