From e4328907a935ee8c30d232ea64dfa5a4bd0d860f Mon Sep 17 00:00:00 2001 From: Dirk Zimoch <dirk.zimoch@psi.ch> Date: Fri, 21 Apr 2017 09:22:46 +0200 Subject: [PATCH] build with -MMD instead of -MD --- App/tools/driver.makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index 0cb55f03..26d59b48 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -668,10 +668,11 @@ endif # MINOR LDFLAGS += ${PROVIDES} ${USR_LDFLAGS_${T_A}} # Create and include dependency files. -CPPFLAGS += -MD -# 3.14.12 already defines -MMD here (what we don't want): -HDEPENDSCFLAGS = -HDEPENDS_CMD = +# 3.14.12+ already uses -MMD +ifndef $(HDEPENDS_METHOD) +HDEPENDS = +CPPFLAGS += -MMD +endif -include *.d # Need to find source dbd files relative to one dir up but generated dbd files in this dir. -- GitLab