--- a/configure +++ b/configure @@ -157,11 +157,6 @@ parser.add_option("--enable-vtune-profiling", "JavaScript code executed in nodejs. This feature is only available " "for x32, x86, and x64 architectures.") -parser.add_option("--enable-lto", - action="store_true", - dest="enable_lto", - help="Enable compiling with lto of a binary. This feature is only available " - "on linux with gcc and g++.") parser.add_option("--link-module", action="append", -------------------------------------------------------------------------------- --- a/common.gypi +++ b/common.gypi @@ -176,17 +176,6 @@ ['OS!="mac" and OS!="win"', { 'cflags': [ '-fno-omit-frame-pointer' ], }], - ['OS=="linux"', { - 'variables': { - 'lto': ' -flto=4 -fuse-linker-plugin -ffat-lto-objects ', - }, - 'conditions': [ - ['enable_lto=="true"', { - 'cflags': ['<(lto)'], - 'ldflags': ['<(lto)'], - },], - ], - },], ['OS == "android"', { 'cflags': [ '-fPIE' ], 'ldflags': [ '-fPIE', '-pie' ]