From 6c7e975b75435274f3670f220789b36e604f5483 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 28 Aug 2017 03:31:57 -0400 Subject: remove remnants of depending on darwin system linker --- src/codegen.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/codegen.cpp') 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; } -- cgit v1.2.3