From 20d08a2d0d4d3fdb5732341fd62243ac7bd44ae1 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 21 Jun 2020 15:02:22 -0700 Subject: Track system header dependencies This change was meant to be included in d4297a13c8. Now that we use -isystem to include header from other packages, we should make sure those headers appear in the .d files. --- rules.ninja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.ninja b/rules.ninja index 34f80a99..a44f88fb 100644 --- a/rules.ninja +++ b/rules.ninja @@ -4,13 +4,13 @@ rule gen # toolchain rule cc - command = $cc -MMD -MF $out.d $cflags -c -o $out $in + command = $cc -MD -MF $out.d $cflags -c -o $out $in depfile = $out.d deps = gcc description = CC $out rule cpp - command = $cc -MMD -MF $out.d $cflags -E -P -o $out $in + command = $cc -MD -MF $out.d $cflags -E -P -o $out $in depfile = $out.d deps = gcc description = CPP $out -- cgit v1.2.3