diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-09-24 13:10:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-09-24 13:10:25 +0200 |
commit | b6c61ea9afd2d738711770e44748e48be009154d (patch) | |
tree | 9f4e2ab650e8359e3fe0a9c5eed45dc2f2f4f160 /libbuild2/cc | |
parent | c94f066bbd47520cf52937fc4ad08a699abda28a (diff) |
Give hints for common causes of "no rule to update ..." error
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/common.txx | 2 | ||||
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 4 | ||||
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/cc/common.txx b/libbuild2/cc/common.txx index bfbc52c..ce922cc 100644 --- a/libbuild2/cc/common.txx +++ b/libbuild2/cc/common.txx @@ -24,7 +24,7 @@ namespace build2 path_cast<dir_path> (out.effect), name, move (ext), - true, // Implied. + target_decl::implied, trace)); assert (!exist || !p.second.owns_lock ()); diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index 37daf76..d568883 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -5500,7 +5500,7 @@ namespace build2 dir_path (), // Always in the out tree. move (mf), nullopt, // Use default extension. - true, // Implied. + target_decl::implied, trace)); file& bt (static_cast<file&> (p.first)); @@ -5571,7 +5571,7 @@ namespace build2 dir_path (), // Always in the out tree. move (mf), nullopt, // Use default extension. - true, // Implied. + target_decl::implied, trace)); file& bt (static_cast<file&> (p.first)); diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 7e74c24..516746b 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1152,7 +1152,7 @@ namespace build2 dir_path (), mf.base ().string (), mf.extension (), - true, // Implied. + target_decl::implied, trace)); target& mt (tl.first); |