diff options
Diffstat (limited to 'build2/search.cxx')
-rw-r--r-- | build2/search.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build2/search.cxx b/build2/search.cxx index 8f621c2..7c658e0 100644 --- a/build2/search.cxx +++ b/build2/search.cxx @@ -171,8 +171,9 @@ namespace build2 // Find or insert. Note that we are using our updated extension. // - auto r (targets.insert ( - *tk.type, move (d), move (out), *tk.name, ext, false, trace)); + auto r ( + targets.insert ( + *tk.type, move (d), move (out), *tk.name, ext, true, trace)); // Has to be a file_target. // @@ -215,8 +216,9 @@ namespace build2 // // @@ OUT: same story as in search_existing_target() re out. // - auto r (targets.insert ( - *tk.type, move (d), *tk.out, *tk.name, tk.ext, false, trace)); + auto r ( + targets.insert ( + *tk.type, move (d), *tk.out, *tk.name, tk.ext, true, trace)); assert (r.second); target& t (r.first); |