Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 4fcd2117ffcf7a630d5e607cfdf6b41d850321e1..803ef6cf9b8d30145e222f52e27cbef3f5d467ff 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -5890,6 +5890,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': [ |