diff options
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/Makefile')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile index cadd3b2..d2e0bdd 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile +++ b/gnu/usr.bin/binutils/gdb/Makefile @@ -1,6 +1,9 @@ # ex:ts=8 # $FreeBSD$ +# must be before -I${DESTDIR}/usr/include +CFLAGS+= -I${DESTDIR}/usr/include/gnu + .include "../Makefile.inc0" GDBDIR= ${.CURDIR}/../../../../contrib/gdb @@ -58,7 +61,6 @@ 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${DESTDIR}/usr/include/gnu CFLAGS+= -I$(.CURDIR) YFLAGS= |