If DESTDIR is defined, look for includes in ${DESTDIR}/usr/include,

instead.
This commit is contained in:
scottr 1996-05-15 19:46:51 +00:00
parent 508069c020
commit 4aca2bf529
1 changed files with 5 additions and 1 deletions

View File

@ -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: