Chromium Code Reviews| Index: build/toolchain.gypi |
| diff --git a/build/toolchain.gypi b/build/toolchain.gypi |
| index 45c1f9dac8e5658a205c1a977fff318363062ae5..8a57dc014b956c5aa8f43e098be769593e34d2a5 100644 |
| --- a/build/toolchain.gypi |
| +++ b/build/toolchain.gypi |
| @@ -91,6 +91,9 @@ |
| # Allow to suppress the array bounds warning (default is no suppression). |
| 'wno_array_bounds%': '', |
| + # Link-Time Optimizations |
| + 'use_lto%': 0, |
| + |
| 'variables': { |
| # This is set when building the Android WebView inside the Android build |
| # system, using the 'android' gyp backend. |
| @@ -241,6 +244,13 @@ |
| }], |
| ], |
| }], |
| + # Disable LTO for v8 |
|
ulan
2014/08/22 13:47:48
Could you please expand this commet explaining why
Fabrice (no longer in Chrome)
2014/08/22 14:13:24
Done.
|
| + ['use_lto==1', { |
| + 'cflags!': [ |
| + '-flto', |
| + '-ffat-lto-objects', |
| + ], |
| + }], |
| ], |
| }], # _toolset=="target" |
| ], |