diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-03-21 10:12:28 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-03-21 15:39:39 -0400 |
| commit | a4eaeee72011a2f7866a18420812178991feaf8d (patch) | |
| tree | af0e54122bf4c94e32f9d8f0ca000379a3d579a7 /src/codegen.cpp | |
| parent | beea478acc2491289ec3e3bbdcec3b68f65d6e62 (diff) | |
| download | zig-a4eaeee72011a2f7866a18420812178991feaf8d.tar.gz zig-a4eaeee72011a2f7866a18420812178991feaf8d.zip | |
ability to use `zig cc` as a drop-in C compiler
The basics are working
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index c2ce2ac3eb..7729172c2f 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -9778,7 +9778,7 @@ static void gen_c_object(CodeGen *g, Buf *self_exe_path, CFile *c_file) { Termination term; ZigList<const char *> args = {}; args.append(buf_ptr(self_exe_path)); - args.append("cc"); + args.append("clang"); Buf *out_dep_path = buf_sprintf("%s.d", buf_ptr(out_obj_path)); add_cc_args(g, args, buf_ptr(out_dep_path), false); |
