aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-03-07 14:30:50 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-03-07 14:30:50 -0500
commit2caf39c96169be8eede11f2ec9887923b650315f (patch)
treea1b32a1fb4eff85406852bd377e8926cecc02229 /src/codegen.cpp
parent431b3b245959830ac385dd162b779a78c93b1c2d (diff)
downloadzig-2caf39c96169be8eede11f2ec9887923b650315f.tar.gz
zig-2caf39c96169be8eede11f2ec9887923b650315f.zip
fix .d file processing and use -MV to quote spaces
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index d05f780440..ed96e1a257 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -8367,6 +8367,7 @@ static bool gen_c_object(CodeGen *g, Buf *self_exe_path, CFile *c_file) {
Buf *out_dep_path = buf_sprintf("%s.d", buf_ptr(out_obj_path));
args.append("-MD");
+ args.append("-MV");
args.append("-MF");
args.append(buf_ptr(out_dep_path));