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:
parent
b8d656b308
commit
d4fc8601e0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user