Skip to content

Commit

Permalink
v.builder: enable LTO for clang on OpenBSD (#22247)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcheylus committed Sep 18, 2024
1 parent fca336c commit ea4bac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/builder/cc.v
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ fn (mut v Builder) setup_ccompiler_options(ccompiler string) {
}
optimization_options = ['-O3']
mut have_flto := true
$if openbsd || windows {
$if windows {
have_flto = false
}
if have_flto {
Expand Down

0 comments on commit ea4bac0

Please sign in to comment.