diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-08-28 03:31:57 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-08-28 03:31:57 -0400 |
| commit | 6c7e975b75435274f3670f220789b36e604f5483 (patch) | |
| tree | 4bf857925b419d228a52f48dfa00ba7d77857f1d /src/codegen.cpp | |
| parent | e6b7b8a0706aad320d2f4f24951a70468477d8a0 (diff) | |
| download | zig-6c7e975b75435274f3670f220789b36e604f5483.tar.gz zig-6c7e975b75435274f3670f220789b36e604f5483.zip | |
remove remnants of depending on darwin system linker
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 7ca8abfc5d..61ec3260d1 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -108,7 +108,6 @@ CodeGen *codegen_create(Buf *root_src_path, const ZigTarget *target, OutType out g->libc_lib_dir = buf_create_from_str(""); g->libc_static_lib_dir = buf_create_from_str(""); g->libc_include_dir = buf_create_from_str(""); - g->darwin_linker_version = buf_create_from_str(""); g->each_lib_rpath = false; } else { // native compilation, we can rely on the configuration stuff @@ -119,7 +118,6 @@ CodeGen *codegen_create(Buf *root_src_path, const ZigTarget *target, OutType out g->libc_lib_dir = buf_create_from_str(ZIG_LIBC_LIB_DIR); g->libc_static_lib_dir = buf_create_from_str(ZIG_LIBC_STATIC_LIB_DIR); g->libc_include_dir = buf_create_from_str(ZIG_LIBC_INCLUDE_DIR); - g->darwin_linker_version = buf_create_from_str(ZIG_HOST_LINK_VERSION); #ifdef ZIG_EACH_LIB_RPATH g->each_lib_rpath = true; #endif @@ -251,10 +249,6 @@ void codegen_set_windows_unicode(CodeGen *g, bool municode) { g->windows_linker_unicode = municode; } -void codegen_set_mlinker_version(CodeGen *g, Buf *darwin_linker_version) { - g->darwin_linker_version = darwin_linker_version; -} - void codegen_set_mmacosx_version_min(CodeGen *g, Buf *mmacosx_version_min) { g->mmacosx_version_min = mmacosx_version_min; } |
