mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue