From: Joel Rosdahl Date: Sun, 13 Oct 2019 19:58:31 +0000 (+0200) Subject: Add -MQ to compilation flags to make dependency files work properly X-Git-Tag: v3.7.5~8 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a00b59c86136488d54a83bef10bc5a0f6b37eacf;p=thirdparty%2Fccache.git Add -MQ to compilation flags to make dependency files work properly Looks like ccache’s own header dependencies have been broken since 4aa357782e48 and nobody noticed. --- diff --git a/dev.mk.in b/dev.mk.in index 481549be6..dbe2a22a8 100644 --- a/dev.mk.in +++ b/dev.mk.in @@ -1,7 +1,7 @@ # GNU make syntax reigns in this file. all_cflags += -Werror -all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d +all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d -MQ $@ A2X = a2x ASCIIDOC = asciidoc