1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

View File

@ -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 {