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

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

Issue 277583006: Implement review comment on GN optimization setup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 9b122349de88dd4dcc08bf6d0bffb9960f6f1dc7..a8c38ab5334a62e465fd30efb541fd56b221169b 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -706,11 +706,7 @@ config("no_optimize") {
"-fdata-sections",
"-ffunction-sections",
]
- ldflags = [
- "-Wl,-O1",
- "-Wl,--as-needed",
- "-Wl,--gc-sections",
- ]
+ ldflags = common_optimize_on_ldflags
} else {
cflags = [ "-O0" ]
}
« 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