Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3877)

Unified Diff: build/config/compiler/BUILD.gn

Issue 2677593002: Turn off LTO again for Official Win/Clang LLD builds (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698