linux-mtd.lists.infradead.org archive mirror
 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

* Re: [PATCH mtd-utils] don't include system headers in dependency files
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2015-08-28 17:11 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 51 bytes --]

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCH mtd-utils] don't include system headers in dependency files
  2015-08-28 17:11 ` Mike Frysinger
@ 2015-08-31 21:44   ` Brian Norris
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Norris @ 2015-08-31 21:44 UTC (permalink / raw)
  To: linux-mtd

On Fri, Aug 28, 2015 at 01:11:31PM -0400, Mike Frysinger wrote:
> Acked-by: Mike Frysinger <vapier@gentoo.org>

Thanks, applied

^ permalink raw reply	[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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).