diff options
Diffstat (limited to 'build2/cc/gcc.cxx')
-rw-r--r-- | build2/cc/gcc.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/build2/cc/gcc.cxx b/build2/cc/gcc.cxx index 64c78ca..bcf2a89 100644 --- a/build2/cc/gcc.cxx +++ b/build2/cc/gcc.cxx @@ -109,10 +109,7 @@ namespace build2 { dir_path d (s, 1, s.size () - 1); - // @@ Pass true as the ignore_error argument for exists(), when - // supported. - // - if (d.absolute () && exists (d) && + if (d.absolute () && exists (d, true) && find (r.begin (), r.end (), d.normalize ()) == r.end ()) r.emplace_back (move (d)); } |