summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb/libgdb/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-02-14 12:10:14 +0000
committerobrien <obrien@FreeBSD.org>2005-02-14 12:10:14 +0000
commitb8e733bd9d8dbd0de4b30f7dd32cd624d2dd96a6 (patch)
tree268a33a6a1fb74a2a2405faae83ee380de6c1f0a /gnu/usr.bin/gdb/libgdb/Makefile
parent38b3e66d0e482dcdfa25e3a105ecf1953564ffcc (diff)
downloadFreeBSD-src-b8e733bd9d8dbd0de4b30f7dd32cd624d2dd96a6.zip
FreeBSD-src-b8e733bd9d8dbd0de4b30f7dd32cd624d2dd96a6.tar.gz
Use the system gnuregex library vs. building GNU regex bits into libiberty
and using them. Reviewed by: marcel,imp Desired by: ache
Diffstat (limited to 'gnu/usr.bin/gdb/libgdb/Makefile')
-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 0a7fad6..e9e92ca 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
OpenPOWER on IntegriCloud