File tree 2 files changed +6
-0
lines changed 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,8 @@ pub fn buildLibCXX(comp: *Compilation) !void {
174
174
.want_tsan = comp .bin_file .options .tsan ,
175
175
.want_pic = comp .bin_file .options .pic ,
176
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
179
.emit_h = null ,
178
180
.strip = comp .compilerRtStrip (),
179
181
.is_native_os = comp .bin_file .options .is_native_os ,
@@ -292,6 +294,8 @@ pub fn buildLibCXXABI(comp: *Compilation) !void {
292
294
.want_tsan = comp .bin_file .options .tsan ,
293
295
.want_pic = comp .bin_file .options .pic ,
294
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
299
.emit_h = null ,
296
300
.strip = comp .compilerRtStrip (),
297
301
.is_native_os = comp .bin_file .options .is_native_os ,
Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ pub fn buildStaticLib(comp: *Compilation) !void {
113
113
.want_tsan = false ,
114
114
.want_pic = comp .bin_file .options .pic ,
115
115
.want_pie = comp .bin_file .options .pie ,
116
+ .want_lto = comp .bin_file .options .lto ,
117
+ .function_sections = comp .bin_file .options .function_sections ,
116
118
.emit_h = null ,
117
119
.strip = comp .compilerRtStrip (),
118
120
.is_native_os = comp .bin_file .options .is_native_os ,
You can’t perform that action at this time.
0 commit comments