Commit 41a8f5aec3
Changed files (2)
src/Compilation.zig
@@ -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 = &.{},
src/link.zig
@@ -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,