summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb/libgdb
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-02-14 12:10:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-02-14 12:10:14 +0000
commit01950bb64fca1cc8a403d80b1eff72ecdb7b70a4 (patch)
tree268a33a6a1fb74a2a2405faae83ee380de6c1f0a /gnu/usr.bin/gdb/libgdb
parentcefddd662eb602bbc63dfdcb972cb4f22bb8f24f (diff)
Use the system gnuregex library vs. building GNU regex bits into libiberty
and using them. Reviewed by: marcel,imp Desired by: ache
Notes
svn path=/head/; revision=141911
Diffstat (limited to 'gnu/usr.bin/gdb/libgdb')
-rw-r--r--gnu/usr.bin/gdb/libgdb/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/libgdb/Makefile b/gnu/usr.bin/gdb/libgdb/Makefile
index 0a7fad659ebf..e9e92cac200a 100644
--- a/gnu/usr.bin/gdb/libgdb/Makefile
+++ b/gnu/usr.bin/gdb/libgdb/Makefile
@@ -48,6 +48,11 @@ SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \
valarith.c valops.c valprint.c values.c varobj.c \
wrapper.c ${LIBSRCS}
+.for stupid_gnu in \
+xregcomp xre_exec xregexec xre_search xre_compile_fastmap xregerror xre_comp xre_set_syntax
+CFLAGS+= -D${stupid_gnu}=${stupid_gnu:S/^x//}
+.endfor
+
.if ${TARGET_ARCH} == ${MACHINE_ARCH}
_fork_child= fork-child.c
_infptrace= infptrace.c