All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mtd-utils] don't include system headers in dependency files
@ 2015-08-28 16:05 Brian Norris
  2015-08-28 17:11 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Norris @ 2015-08-28 16:05 UTC (permalink / raw)
  To: linux-mtd; +Cc: Brian Norris, Mike Frysinger

System library headers are not strictly part of our build. If they are
changing beneath our feet, then we probably have bigger problems.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Suggested-by: Mike Frysinger <vapier@gentoo.org>
---
 common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common.mk b/common.mk
index 7c09ab0a46d0..6bfe8de85953 100644
--- a/common.mk
+++ b/common.mk
@@ -80,7 +80,7 @@ ifneq ($(BUILDDIR),$(CURDIR))
 	$(Q)mkdir -p $(dir $@)
 endif
 	$(call BECHO,CC)
-	$(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< -g -MD -MF $(BUILDDIR)/.$(<F).dep
+	$(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< -g -MMD -MF $(BUILDDIR)/.$(<F).dep
 
 .SUFFIXES:
 
-- 
2.5.0.457.gab17608

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-31 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 16:05 [PATCH mtd-utils] don't include system headers in dependency files Brian Norris
2015-08-28 17:11 ` Mike Frysinger
2015-08-31 21:44   ` Brian Norris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.