Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index edbd027828f74456804a78defec4a662303b21fc..d72c76f2867248991e57f5e9198ec063745af958 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -5894,6 +5894,17 @@ |
], |
}, |
}], |
+ ['use_lto==1 and clang==1', { |
+ 'target_defaults': { |
+ 'target_conditions': [ |
+ ['_toolset=="target"', { |
+ 'arflags': [ |
+ '--plugin', '../../<(make_clang_dir)/lib/LLVMgold.so', |
+ ], |
+ }], |
+ ], |
+ }, |
+ }], |
['(use_lto==1 or use_lto_o2==1) and clang==0', { |
'target_defaults': { |
'target_conditions': [ |