summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/gdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/Makefile')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index 6f08dad..67e8924 100644
--- a/gnu/usr.bin/binutils/gdb/Makefile
+++ b/gnu/usr.bin/binutils/gdb/Makefile
@@ -58,6 +58,7 @@ CFLAGS+= -DDEFAULT_BFD_ARCH=bfd_${GDB_CPU}_arch
CFLAGS+= -I${.CURDIR}/${TARGET_ARCH}
CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd
CFLAGS+= -I${GDBDIR}/gdb -I${GDBDIR}/gdb/config
+CFLAGS+= -I${.CURDIR}/../../../../../include/gnu
CFLAGS+= -I$(.CURDIR) -I${DESTDIR}/usr/include/readline
YFLAGS=
@@ -135,6 +136,6 @@ gdbversion.c: Makefile
@echo 'const char target_name[] = "${TARGET_ARCH}-undermydesk-freebsd";' >>${.TARGET}
xregex.h:
- @echo '#include <gnuregex.h>' >${.TARGET}
+ @echo '#include <regex.h>' >${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud