File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ fn (mut v Builder) setup_ccompiler_options(ccompiler string) {
233
233
debug_options << '-no-pie'
234
234
}
235
235
}
236
- optimization_options = ['-O3' , '-fno-strict-aliasing' , '- flto' ]
236
+ optimization_options = ['-O3' , '-flto' ]
237
237
}
238
238
if ccoptions.is_cc_icc {
239
239
if ccoptions.debug_mode {
@@ -242,7 +242,7 @@ fn (mut v Builder) setup_ccompiler_options(ccompiler string) {
242
242
debug_options << '-no-pie'
243
243
}
244
244
}
245
- optimization_options = ['-Ofast' , '-fno-strict-aliasing' ]
245
+ optimization_options = ['-Ofast' ]
246
246
}
247
247
//
248
248
if ccoptions.debug_mode {
@@ -836,7 +836,7 @@ fn (mut c Builder) cc_windows_cross() {
836
836
mut debug_options := []string {}
837
837
if c.pref.is_prod {
838
838
if c.pref.ccompiler != 'msvc' {
839
- optimization_options = ['-O3' , '-fno-strict-aliasing' , '- flto' ]
839
+ optimization_options = ['-O3' , '-flto' ]
840
840
}
841
841
}
842
842
if c.pref.is_debug {
You can’t perform that action at this time.
0 commit comments