v.builder: enable LTO for clang on OpenBSD (#22247)

This commit is contained in:
Laurent Cheylus 2024-09-18 13:54:34 +00:00 committed by GitHub
parent fca336c895
commit ea4bac0340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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