martine/ninja — pull request #686 by usovalx (2013-11-13 20:04:42+00:00)
Title: Order-only dependencies trigger unneeded actions

Here is very artificial example:

```
rule CC
command = gcc -c -o $out $in
build b.o: CC b.c
build c.o: CC c.c || b.o
```

Example of what's going wrong:
```shell
touch b.c c.c
ninja
touch b.c
ninja -v c.o
```

Second ninja invocation triggers completely unnecessary rebuild of `c.o`