commit: d17bfecc29345c24bd45e5bae58cb7b1618fd9c3
parent 3042bd4c16a1bfd91acc91b02e3a8847947f060c
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 19 Aug 2017 19:08:36 -0700
Don't track system header dependencies
This slows down no-op builds and is not really useful since if the toolchain was
upgraded and libc.a changes, we need to rebuild manually anyway.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules.ninja b/rules.ninja
@@ -4,7 +4,7 @@ rule gen
# toolchain
rule cc
- command = $cc -MD -MF $out.d $cflags -c -o $out $in
+ command = $cc -MMD -MF $out.d $cflags -c -o $out $in
depfile = $out.d
deps = gcc