diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-08-27 02:51:25 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-08-27 02:51:25 -0400 |
| commit | 91536813ec5d159ed4bea857621ed10a1216411a (patch) | |
| tree | b7bb3a00d615aa968f17ee7b7509be7ccf592736 /src/codegen.cpp | |
| parent | 01f88bf8c658ab6e74d8c3b030b55b17a5048502 (diff) | |
| download | zig-91536813ec5d159ed4bea857621ed10a1216411a.tar.gz zig-91536813ec5d159ed4bea857621ed10a1216411a.zip | |
macos updates
* try some macos travis stuff
* put c in the link libs for macos since we always link with libSystem
* for non-native targets on macos, allow runtime symbol resolution
- it's causing an infinite loop in LLD.
* for macos, always build compiler_rt and turn on LinkOnce because
compiler_rt on darwin is missing some stuff.
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 80ea5e6f6d..7ca8abfc5d 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -139,6 +139,7 @@ CodeGen *codegen_create(Buf *root_src_path, const ZigTarget *target, OutType out g->zig_target.os == ZigLLVM_IOS) { g->libc_link_lib = create_link_lib(buf_create_from_str("c")); + g->link_libs_list.append(g->libc_link_lib); } return g; |
