Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Put -Is in CPPFLAGS, not CFLAGS; change -I to -isys...



details:   https://anonhg.NetBSD.org/src/rev/891f68fef63e
branches:  trunk
changeset: 517557:891f68fef63e
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Nov 14 22:01:40 2001 +0000

description:
Put -Is in CPPFLAGS, not CFLAGS; change -I to -isystem as appropriate.

diffstat:

 share/mk/bsd.kmod.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r ebfb99d88896 -r 891f68fef63e share/mk/bsd.kmod.mk
--- a/share/mk/bsd.kmod.mk      Wed Nov 14 22:00:42 2001 +0000
+++ b/share/mk/bsd.kmod.mk      Wed Nov 14 22:01:40 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmod.mk,v 1.43 2001/11/02 05:21:50 tv Exp $
+#      $NetBSD: bsd.kmod.mk,v 1.44 2001/11/14 22:01:40 tv Exp $
 
 .include <bsd.init.mk>
 
@@ -12,7 +12,8 @@
 S?=            /sys
 KERN=          $S/kern
 
-CFLAGS+=       ${COPTS} -D_KERNEL -D_LKM -I. -I${.CURDIR} -I$S -I$S/arch
+CFLAGS+=       ${COPTS} -D_KERNEL -D_LKM
+CPPFLAGS+=     -nostdinc -I. -I${.CURDIR} -isystem $S -isystem $S/arch
 
 DPSRCS+=       ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
 CLEANFILES+=   ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}} \



Home | Main Index | Thread Index | Old Index