summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-06-14 03:32:49 +0000
committersjg <sjg@FreeBSD.org>2015-06-14 03:32:49 +0000
commit5a458f85ac6d6571af8bedbf8099fbc107ff26dc (patch)
tree0291488ed23b6b04cb54961eea3a09044211b303 /usr.bin
parent2f2aa7417b3a407f0a186aaa6670e8d6886d827c (diff)
downloadFreeBSD-src-5a458f85ac6d6571af8bedbf8099fbc107ff26dc.zip
FreeBSD-src-5a458f85ac6d6571af8bedbf8099fbc107ff26dc.tar.gz
Need to provide -I for meta mode
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/xlint/llib/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/xlint/llib/Makefile b/usr.bin/xlint/llib/Makefile
index 9f1e3c1..8ee7e17 100644
--- a/usr.bin/xlint/llib/Makefile
+++ b/usr.bin/xlint/llib/Makefile
@@ -8,6 +8,8 @@ FILESDIR= ${LINTLIBDIR}
CLEANFILES+= ${LIBS}
+
+
llib-lposix.ln: llib-lposix
${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC}
@@ -15,3 +17,7 @@ llib-lstdc.ln: llib-lstdc
${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
.include <bsd.prog.mk>
+
+.if ${MK_META_MODE} == "yes"
+LINTFLAGS+= -I${STAGE_INCLUDEDIR}
+.endif
OpenPOWER on IntegriCloud