If DESTDIR is defined, look for includes in ${DESTDIR}/usr/include,
instead.
This commit is contained in:
parent
508069c020
commit
4aca2bf529
|
@ -1,9 +1,13 @@
|
||||||
# $NetBSD: bsd.sys.mk,v 1.2 1995/12/13 01:25:07 cgd Exp $
|
# $NetBSD: bsd.sys.mk,v 1.3 1996/05/15 19:46:51 scottr Exp $
|
||||||
#
|
#
|
||||||
# Overrides used for NetBSD source tree builds.
|
# Overrides used for NetBSD source tree builds.
|
||||||
|
|
||||||
CFLAGS+= -Werror
|
CFLAGS+= -Werror
|
||||||
|
|
||||||
|
.if defined(DESTDIR)
|
||||||
|
CFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(PARALLEL)
|
.if defined(PARALLEL)
|
||||||
# Lex
|
# Lex
|
||||||
.l:
|
.l:
|
||||||
|
|
Loading…
Reference in New Issue