aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2019-09-12 15:50:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2019-09-12 15:50:14 +0000
commit905ce443f61d21becbb6f422c6389e03bf8fb96c (patch)
tree0b2ce0272a5e61fb6b942cae2b7c6ef1591a9ec9 /gnu
parent469ce693918b60ab458503294fdfad39934f3f52 (diff)
downloadsrc-905ce443f61d21becbb6f422c6389e03bf8fb96c.tar.gz
src-905ce443f61d21becbb6f422c6389e03bf8fb96c.zip
Get the readline header from the installed header instead of the from the source
location.
Notes
Notes: svn path=/head/; revision=352249
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/Makefile.inc b/gnu/usr.bin/gdb/Makefile.inc
index ecead2e2e674..f7dd8452abad 100644
--- a/gnu/usr.bin/gdb/Makefile.inc
+++ b/gnu/usr.bin/gdb/Makefile.inc
@@ -45,7 +45,7 @@ CFLAGS+= -I${CNTRB_GDB}/gdb/config
CFLAGS+= -I${CNTRB_BU}/include
CFLAGS+= -I${CNTRB_GDB}/include
CFLAGS+= -I${CNTRB_BU}/bfd
-CFLAGS+= -I${SRCTOP}/lib/libedit/edit
+CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
GENSRCS+= nm.h tm.h