diff options
Diffstat (limited to 'src/libunwind.zig')
| -rw-r--r-- | src/libunwind.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libunwind.zig b/src/libunwind.zig index 057663a44b..7710b1aa77 100644 --- a/src/libunwind.zig +++ b/src/libunwind.zig @@ -104,7 +104,7 @@ pub fn buildStaticLib(comp: *Compilation) !void { .thread_pool = comp.thread_pool, .libc_installation = comp.bin_file.options.libc_installation, .emit_bin = emit_bin, - .optimize_mode = comp.bin_file.options.optimize_mode, + .optimize_mode = comp.compilerRtOptMode(), .link_mode = link_mode, .want_sanitize_c = false, .want_stack_check = false, @@ -113,7 +113,7 @@ pub fn buildStaticLib(comp: *Compilation) !void { .want_pic = comp.bin_file.options.pic, .want_pie = comp.bin_file.options.pie, .emit_h = null, - .strip = comp.bin_file.options.strip, + .strip = comp.compilerRtStrip(), .is_native_os = comp.bin_file.options.is_native_os, .is_native_abi = comp.bin_file.options.is_native_abi, .self_exe_path = comp.self_exe_path, |
