summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2020-01-19 13:16:06 +0100
committerGitHub <noreply@github.com>2020-01-19 13:16:06 +0100
commit0ccc7886fd4694ae1372d29b4954e2dd3be118be (patch)
treea7b0f467bed841e08e4057e08da99ff924a18725
parentadcf925c45afb19eacaa9a78a6d2ff519ec466c0 (diff)
parent78f700c35c07b5ef5663716461852fbdee287817 (diff)
downloadninja-0ccc7886fd4694ae1372d29b4954e2dd3be118be.tar.gz
Merge pull request #1624 from bungeman/patch-1
Recommend MD over MMD for header dependencies.
-rw-r--r--doc/manual.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index e2c631c..238e6c4 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -575,10 +575,10 @@ Use it like in the following example:
----
rule cc
depfile = $out.d
- command = gcc -MMD -MF $out.d [other gcc flags here]
+ command = gcc -MD -MF $out.d [other gcc flags here]
----
-The `-MMD` flag to `gcc` tells it to output header dependencies, and
+The `-MD` flag to `gcc` tells it to output header dependencies, and
the `-MF` flag tells it where to write them.
deps