mirror of
https://github.com/vlang/v.git
synced 2025-09-19 04:17:46 -04:00
v.builder: enable LTO for clang on OpenBSD (#22247)
This commit is contained in:
parent
fca336c895
commit
ea4bac0340
@ -232,7 +232,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 || windows {
|
$if windows {
|
||||||
have_flto = false
|
have_flto = false
|
||||||
}
|
}
|
||||||
if have_flto {
|
if have_flto {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user