summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-09-20 18:52:39 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-09-20 18:52:39 +0000
commit25282c7fab503e127503a5a3d9d8b10aa998cdc8 (patch)
tree2a93d440ef208e1dc1b79fc72143f80d3fc4caa5
parentfc392d5cf3697325cfb3f8faa65d685a2b62c8f1 (diff)
pass CPPFLAGS to CLINT. ok deraadt@, millert@
-rw-r--r--share/mk/bsd.lib.mk4
-rw-r--r--share/mk/sys.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 4485bff9718..73f909d84eb 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lib.mk,v 1.42 2004/08/11 09:43:12 deraadt Exp $
+# $OpenBSD: bsd.lib.mk,v 1.43 2004/09/20 18:52:38 espie Exp $
# $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $
# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
@@ -47,7 +47,7 @@ SHLIB_MINOR=${minor}
@rm -f ${.TARGET}.o
.c.ln:
- ${LINT} ${LINTFLAGS} ${CFLAGS:M-[IDU]*} -i ${.IMPSRC}
+ ${LINT} ${LINTFLAGS} ${CFLAGS:M-[IDU]*} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}
.cc.o .C.o .cxx.o:
@echo "${COMPILE.cc} ${.IMPSRC} -o ${.TARGET}"
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 39a90a3b7e7..4d4e4c9ccfd 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: sys.mk,v 1.38 2004/08/09 18:08:51 deraadt Exp $
+# $OpenBSD: sys.mk,v 1.39 2004/09/20 18:52:37 espie Exp $
# $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91
@@ -95,7 +95,7 @@ CTAGS?= /usr/bin/ctags
rm -f $*.o
.endif
.c.ln:
- ${LINT} ${LINTFLAGS} ${CFLAGS:M-[IDU]*} -i ${.IMPSRC}
+ ${LINT} ${LINTFLAGS} ${CFLAGS:M-[IDU]*} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}
# C++
.cc: