| ... | @@ -174,6 +174,8 @@ pub fn buildLibCXX(comp: *Compilation) !void { | ... | @@ -174,6 +174,8 @@ pub fn buildLibCXX(comp: *Compilation) !void { |
| 174 | .want_tsan = comp.bin_file.options.tsan, | 174 | .want_tsan = comp.bin_file.options.tsan, |
| 175 | .want_pic = comp.bin_file.options.pic, | 175 | .want_pic = comp.bin_file.options.pic, |
| 176 | .want_pie = comp.bin_file.options.pie, | 176 | .want_pie = comp.bin_file.options.pie, |
| | 177 | .want_lto = comp.bin_file.options.lto, |
| | 178 | .function_sections = comp.bin_file.options.function_sections, |
| 177 | .emit_h = null, | 179 | .emit_h = null, |
| 178 | .strip = comp.compilerRtStrip(), | 180 | .strip = comp.compilerRtStrip(), |
| 179 | .is_native_os = comp.bin_file.options.is_native_os, | 181 | .is_native_os = comp.bin_file.options.is_native_os, |
| ... | @@ -292,6 +294,8 @@ pub fn buildLibCXXABI(comp: *Compilation) !void { | ... | @@ -292,6 +294,8 @@ pub fn buildLibCXXABI(comp: *Compilation) !void { |
| 292 | .want_tsan = comp.bin_file.options.tsan, | 294 | .want_tsan = comp.bin_file.options.tsan, |
| 293 | .want_pic = comp.bin_file.options.pic, | 295 | .want_pic = comp.bin_file.options.pic, |
| 294 | .want_pie = comp.bin_file.options.pie, | 296 | .want_pie = comp.bin_file.options.pie, |
| | 297 | .want_lto = comp.bin_file.options.lto, |
| | 298 | .function_sections = comp.bin_file.options.function_sections, |
| 295 | .emit_h = null, | 299 | .emit_h = null, |
| 296 | .strip = comp.compilerRtStrip(), | 300 | .strip = comp.compilerRtStrip(), |
| 297 | .is_native_os = comp.bin_file.options.is_native_os, | 301 | .is_native_os = comp.bin_file.options.is_native_os, |