Skip to content

Commit

Permalink
Allow enabling LTO for macOS builds (flutter#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored Mar 10, 2023
1 parent a357fb6 commit 287917d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ config("optimize") {
}

lto_flags = []
if (enable_lto && (is_ios || is_android || is_fuchsia || is_wasm)) {
if (enable_lto && (is_ios || is_mac || is_android || is_fuchsia || is_wasm)) {
lto_flags += [ "-flto" ]
}

Expand Down

0 comments on commit 287917d

Please sign in to comment.