aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;