G/C -nostdinc usage, --sysroot is provided automatically.
This commit is contained in:
parent
56027687e2
commit
e18cbfbf65
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile.inc,v 1.6 2010/05/30 08:28:53 tnozaki Exp $
|
# $NetBSD: Makefile.inc,v 1.7 2011/11/10 00:36:54 joerg Exp $
|
||||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||||
#
|
#
|
||||||
# All library objects contain sccsid strings by default; they may be
|
# All library objects contain sccsid strings by default; they may be
|
||||||
|
@ -53,9 +53,6 @@ LINTFLAGS+= -X 272
|
||||||
|
|
||||||
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR}
|
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR}
|
||||||
AFLAGS+= -I${ARCHDIR}
|
AFLAGS+= -I${ARCHDIR}
|
||||||
.if defined(DESTDIR)
|
|
||||||
AFLAGS+= -nostdinc -isystem ${DESTDIR}/usr/include
|
|
||||||
.endif
|
|
||||||
CLEANFILES+= tags
|
CLEANFILES+= tags
|
||||||
|
|
||||||
# Don't try to lint the C library against itself when creating llib-lc.ln
|
# Don't try to lint the C library against itself when creating llib-lc.ln
|
||||||
|
|
Loading…
Reference in New Issue