From d39697696fa8cd6a04cb435702d4e958e77e139e Mon Sep 17 00:00:00 2001 From: mycroft Date: Wed, 8 Oct 1997 13:17:00 +0000 Subject: [PATCH] Put the `-nostdinc -idirafter ...' in CPPFLAGS, not CFLAGS. --- share/mk/bsd.sys.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index d6405b745c16..47962eaa8aec 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.sys.mk,v 1.10 1997/09/26 13:24:03 christos Exp $ +# $NetBSD: bsd.sys.mk,v 1.11 1997/10/08 13:17:00 mycroft Exp $ # # Overrides used for NetBSD source tree builds. @@ -8,7 +8,7 @@ CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes .endif .if defined(DESTDIR) -CFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include +CPPFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include .endif # Helpers for cross-compiling