remove parent_compilation_link_libc

This commit is contained in:
Andrew Kelley 2023-12-13 12:33:37 -07:00
parent 0789e91eeb
commit 41a8f5aec3
2 changed files with 1 additions and 2 deletions

View File

@ -1697,7 +1697,6 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation {
.soname = options.soname,
.compatibility_version = options.compatibility_version,
.dll_export_fns = dll_export_fns,
.parent_compilation_link_libc = options.parent_compilation_link_libc,
.each_lib_rpath = each_lib_rpath,
.build_id = build_id,
.disable_lld_caching = options.disable_lld_caching or cache_mode == .whole,
@ -6191,6 +6190,7 @@ fn buildOutputFromZig(
.omit_frame_pointer = comp.root_mod.omit_frame_pointer,
.unwind_tables = comp.bin_file.options.eh_frame_hdr,
.pic = comp.root_mod.pic,
.optimize_mode = comp.compilerRtOptMode(),
},
.global = config,
.cc_argv = &.{},

View File

@ -133,7 +133,6 @@ pub const File = struct {
export_symbol_names: []const []const u8,
global_base: ?u64,
dll_export_fns: bool,
parent_compilation_link_libc: bool,
each_lib_rpath: bool,
build_id: std.zig.BuildId,
disable_lld_caching: bool,