artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cfc156
)
Define DEF_WEAK like we do for ld.so to fix building this with clang.
author
kettenis
<kettenis@openbsd.org>
Sun, 16 Apr 2017 16:01:05 +0000
(16:01 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 16 Apr 2017 16:01:05 +0000
(16:01 +0000)
ok millert@, deraadt@
regress/lib/libc/regex/Makefile
patch
|
blob
|
history
diff --git
a/regress/lib/libc/regex/Makefile
b/regress/lib/libc/regex/Makefile
index
a69432f
..
5b9a080
100644
(file)
--- a/
regress/lib/libc/regex/Makefile
+++ b/
regress/lib/libc/regex/Makefile
@@
-1,4
+1,4
@@
-# $OpenBSD: Makefile,v 1.1
0 2014/12/10 03:12:38 daniel
Exp $
+# $OpenBSD: Makefile,v 1.1
1 2017/04/16 16:01:05 kettenis
Exp $
# $NetBSD: Makefile,v 1.2 1995/02/16 19:38:45 cgd Exp $
PROG= re
@@
-7,6
+7,7
@@
SRCS= main.c split.c debug.c regcomp.c regerror.c regexec.c regfree.c
CLEANFILES += t_exhaust
CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex -DREDEBUG -DPOSIX_MISTAKE
+CFLAGS+= -D'DEF_WEAK(x)=asm("")'
TESTS= ${.CURDIR}/tests