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

Unified Diff: chrome/test/data/nacl/BUILD.gn

Issue 2892643002: Revert of build: Remove build system support for gold plugin. (Closed)
Patch Set: Created 3 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 | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/nacl/BUILD.gn
diff --git a/chrome/test/data/nacl/BUILD.gn b/chrome/test/data/nacl/BUILD.gn
index e6a14dd83236175d9e8b4dfcb3c0bc0c9e1938c8..8258044c866e4c3acf50b90c999fe98f8e134689 100644
--- a/chrome/test/data/nacl/BUILD.gn
+++ b/chrome/test/data/nacl/BUILD.gn
@@ -565,7 +565,11 @@
# See more details:
# https://llvm.org/bugs/show_bug.cgi?id=30403
if (use_thin_lto) {
- ldflags = [ "-Wl,--lto-O0" ]
+ if (use_lld) {
+ ldflags = [ "-Wl,--lto-O0" ]
+ } else {
+ ldflags = [ "-Wl,-plugin-opt,O0" ]
+ }
}
}
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698