builder: fix clang failing to link on windows due to an -ftlo error (#13470)

pull/13493/head
vyrus001 2022-02-15 23:13:26 -08:00 committed by GitHub
parent b8d656b308
commit d4fc8601e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ fn (mut v Builder) setup_ccompiler_options(ccompiler string) {
}
optimization_options = ['-O3']
mut have_flto := true
$if openbsd {
$if openbsd || windows {
have_flto = false
}
if have_flto {