diff options
Diffstat (limited to 'tools/v8_gypfiles/v8.gyp')
-rw-r--r-- | tools/v8_gypfiles/v8.gyp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index e6651b89fb..4ed217616f 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -1511,6 +1511,10 @@ ['want_separate_host_toolset', { 'toolsets': ['host'], }], + # Avoid excessive LTO + ['enable_lto=="true"', { + 'ldflags': [ '-fno-lto' ], + }], ], 'defines!': [ 'BUILDING_V8_SHARED=1', @@ -1556,6 +1560,10 @@ '<(_msvs_precompiled_source)', ], }], + # Avoid excessive LTO + ['enable_lto=="true"', { + 'ldflags': [ '-fno-lto' ], + }], ], }, # mksnapshot { @@ -1569,6 +1577,10 @@ ['want_separate_host_toolset', { 'toolsets': ['host'], }], + # Avoid excessive LTO + ['enable_lto=="true"', { + 'ldflags': [ '-fno-lto' ], + }], ], 'defines!': [ '_HAS_EXCEPTIONS=0', @@ -1603,6 +1615,10 @@ ['want_separate_host_toolset', { 'toolsets': ['host'], }], + # Avoid excessive LTO + ['enable_lto=="true"', { + 'ldflags': [ '-fno-lto' ], + }], ], 'dependencies': [ 'torque_base', @@ -1635,6 +1651,10 @@ ['want_separate_host_toolset', { 'toolsets': ['host'], }], + # Avoid excessive LTO + ['enable_lto=="true"', { + 'ldflags': [ '-fno-lto' ], + }], ], 'sources': [ "<(V8_ROOT)/src/regexp/gen-regexp-special-case.cc", @@ -1651,6 +1671,10 @@ }, { 'dependencies': ['gen-regexp-special-case#target'], }], + # Avoid excessive LTO + ['enable_lto=="true"', { + 'ldflags': [ '-fno-lto' ], + }], ], 'actions': [ { |