diff options
Diffstat (limited to 'build/algorithm.txx')
-rw-r--r-- | build/algorithm.txx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/algorithm.txx b/build/algorithm.txx index 4c9a673..1e22be1 100644 --- a/build/algorithm.txx +++ b/build/algorithm.txx @@ -18,9 +18,10 @@ namespace build for (const prerequisite& p: t.prerequisites) { - assert (p.target != nullptr); - target& pt (*p.target); + if (p.target == nullptr) // Skip ignored. + continue; + target& pt (*p.target); target_state ts (execute (a, pt)); if (!e) |