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/link.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/link.cpp')
| -rw-r--r-- | src/link.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.cpp b/src/link.cpp index 0ae47c8432..b340206b14 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -2008,7 +2008,7 @@ static const char *get_def_lib(CodeGen *parent, const char *name, Buf *def_in_fi ZigList<const char *> args = {}; args.append(buf_ptr(self_exe_path)); - args.append("cc"); + args.append("clang"); args.append("-x"); args.append("c"); args.append(buf_ptr(def_in_file)); |
