aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-04 23:13:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-04 23:13:08 +0300
commitaa5cd714e60ddd7a6af93576bc3450d1cd9ff3b1 (patch)
tree15dcbbf674e62d2480decbfa82c8c868f189a114
parentd5e30c868f58a13212f15442b9e179d9f2716a5a (diff)
Fix header dependency generating with Clang
-rw-r--r--build2/cc/compile-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 170e358..a957553 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -2992,7 +2992,7 @@ namespace build2
}
args.push_back ("-MF");
- args.push_back (r != nullptr ? r->string ().c_str () : "");
+ args.push_back (r != nullptr ? r->string ().c_str () : "-");
sense_diag = (ctype == compiler_type::gcc);
gen = args_gen = false;