From 1ce8f66363edab38d8805f593bad992ecb93075c Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 3 Jul 2017 07:54:18 +0000 Subject: [PATCH] explicitly pass -MD -MP in DFLAGS, so that even if CFLAGS are forced on the command line, things will still work --- share/mk/bsd.dep.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index f6f39dde98f..b433f4935e0 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.dep.mk,v 1.16 2017/07/01 14:41:54 espie Exp $ +# $OpenBSD: bsd.dep.mk,v 1.17 2017/07/03 07:54:18 espie Exp $ # $NetBSD: bsd.dep.mk,v 1.12 1995/09/27 01:15:09 christos Exp $ .if !target(depend) @@ -17,7 +17,7 @@ CFLAGS += -MD -MP CXXFLAGS += -MD -MP # libraries need some special love -DFLAGS = -MT $*.o -MT $*.po -MT $*.so -MT $*.do +DFLAGS = -MD -MP -MT $*.o -MT $*.po -MT $*.so -MT $*.do .if !target(tags) . if defined(SRCS) -- 2.20.1