]> xenbits.xensource.com Git - freebsd.git/commitdiff
Get the readline header from the installed header instead of the from the source
authorbapt <bapt@FreeBSD.org>
Thu, 12 Sep 2019 15:50:14 +0000 (15:50 +0000)
committerbapt <bapt@FreeBSD.org>
Thu, 12 Sep 2019 15:50:14 +0000 (15:50 +0000)
location.

gnu/usr.bin/gdb/Makefile.inc

index ecead2e2e674ba75377abe5419707055a999955f..f7dd8452abaddf9f2753939700b06c1c353654d3 100644 (file)
@@ -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