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

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

Issue 1896163003: Implement arflags in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@arflags
Patch Set: Created 4 years, 8 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 | build/config/win/BUILD.gn » ('j') | build/toolchain/gcc_toolchain.gni » ('J')
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 3cf72220237662772be19973c54a9c9de54012fd..3ae956acde6dca006455ca12573bd279551ef39f 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -417,6 +417,12 @@ config("compiler") {
ldflags += [ "-Wl,-plugin-opt,-function-sections" ]
}
+ arflags = [
+ "--plugin",
+ rebase_path("//third_party/llvm-build/Release+Asserts/lib/LLVMgold.so",
+ root_build_dir),
+ ]
brucedawson 2016/04/19 20:59:32 This arflags initialization is under "if (!is_debu
+
# TODO(pcc): Make these flags work correctly with CFI.
if (!is_cfi) {
cflags += [
« no previous file with comments | « no previous file | build/config/win/BUILD.gn » ('j') | build/toolchain/gcc_toolchain.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698