From aa5cd714e60ddd7a6af93576bc3450d1cd9ff3b1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 4 Jun 2019 23:13:08 +0300 Subject: Fix header dependency generating with Clang --- build2/cc/compile-rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/compile-rule.cxx') 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; -- cgit v1.1