diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-03-07 14:30:50 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-03-07 14:30:50 -0500 |
| commit | 2caf39c96169be8eede11f2ec9887923b650315f (patch) | |
| tree | a1b32a1fb4eff85406852bd377e8926cecc02229 /src/codegen.cpp | |
| parent | 431b3b245959830ac385dd162b779a78c93b1c2d (diff) | |
| download | zig-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.cpp | 1 |
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)); |
