diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-05-13 12:44:45 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-05-13 12:44:45 +0000 |
commit | b3b7b3d8f22899a1cee6ba56a850777aad8b8ed9 (patch) | |
tree | 4b2c6c4d3d52b1f95d93f5a241090dfda533f90e /share/mk/bsd.sys.mk | |
parent | 7765329deea9c86c7517097653a087af30c7bd9f (diff) |
Fix CCPFLAGS when DESTDIR set, formerly in sys.mk, been away for a
while, but need to be in here somewhere.
Diffstat (limited to 'share/mk/bsd.sys.mk')
-rw-r--r-- | share/mk/bsd.sys.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 3ee31bd36cd..ec002dbd38e 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -1,8 +1,12 @@ -# $OpenBSD: bsd.sys.mk,v 1.5 1996/03/05 11:13:04 mickey Exp $ +# $OpenBSD: bsd.sys.mk,v 1.6 1996/05/13 12:44:44 niklas Exp $ # $NetBSD: bsd.sys.mk,v 1.2 1995/12/13 01:25:07 cgd Exp $ -# Overrides used for NetBSD source tree builds. +# +# Overrides used for OpenBSD source tree builds. #CFLAGS+= -Werror +.if defined(DESTDIR) +CPPFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include +.endif .if defined(PARALLEL) # Lex |