Skip to content

Commit 287917d

Browse files
authored
Allow enabling LTO for macOS builds (flutter#691)
1 parent a357fb6 commit 287917d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/config/compiler/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ config("optimize") {
880880
}
881881

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

0 commit comments

Comments
 (0)