Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 16c8a7aed472f24b9fe00642cdc71b5d95975200..65a8847e29f27048630293a1927d00a0bdc70d93 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -1490,9 +1490,8 @@ config("optimize_max") { |
# incremental value of C4702 for PGO builds is likely very small. |
"/wd4702", |
] |
- } else if (is_clang && use_lld) { |
- cflags += [ "-flto" ] # Link-time optimization (whole program optimization). |
} |
+ # TODO(crbug.com/598772): Enable -flto for Clang. |
} |
} else if (optimize_for_fuzzing) { |
cflags = [ "-O1" ] + common_optimize_on_cflags |