Skip to content

Commit 96d2493

Browse files
authored
1 parent b12e922 commit 96d2493

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

build/config/compiler/BUILD.gn

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -822,10 +822,9 @@ config("optimize") {
822822
cflags = [ "-Os" ] + common_optimize_on_cflags # Favor size over speed.
823823
} else if (is_android) {
824824
cflags = [ "-Oz" ] + common_optimize_on_cflags # Favor size over speed.
825-
# TODO(goderbauer): re-enable when https://github.com/flutter/flutter/issues/21686 is fixed
826-
# if (enable_lto) {
827-
# lto_flags += [ "-flto" ]
828-
# }
825+
if (enable_lto) {
826+
lto_flags += [ "-flto" ]
827+
}
829828
} else {
830829
cflags = [ "-O2" ] + common_optimize_on_cflags
831830
}

0 commit comments

Comments
 (0)