Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 68a4316b3c4bcfca9e46c1ed8e2f6f78e5f683b6..d1e7b8a4c5711a3a67c4200a399b80a268562ac3 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -3835,6 +3835,18 @@ |
| }], |
| ], |
| }], |
| + # Newer gcc's support -fuse-ld, use the flag to force gold |
| + # selection. |
| + # gcc -- http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Optimize-Options.html |
| + # clang support -- http://clang-developers.42468.n3.nabble.com/Adding-fuse-ld-support-to-clang-td4032180.html |
|
Nico
2014/04/10 21:27:19
That link is just a thread where someone posted a
mithro-old
2014/04/11 02:17:56
Actually the patch did land and then was reverted.
|
| + ['gcc_version>=48', { |
| + 'cflags': [ |
| + '-fuse-ld=gold', |
| + ], |
| + 'ldflags': [ |
| + '-fuse-ld=gold', |
| + ], |
| + }] |
| ], |
| }], |
| ['linux_use_gold_binary==1', { |