builder: fix clang failing to link on windows due to an -ftlo error (#13470)
parent
b8d656b308
commit
d4fc8601e0
|
@ -234,7 +234,7 @@ fn (mut v Builder) setup_ccompiler_options(ccompiler string) {
|
||||||
}
|
}
|
||||||
optimization_options = ['-O3']
|
optimization_options = ['-O3']
|
||||||
mut have_flto := true
|
mut have_flto := true
|
||||||
$if openbsd {
|
$if openbsd || windows {
|
||||||
have_flto = false
|
have_flto = false
|
||||||
}
|
}
|
||||||
if have_flto {
|
if have_flto {
|
||||||
|
|
Loading…
Reference in New Issue