diff --git a/binding.gyp b/binding.gyp index c6d41025..9e8780ea 100644 --- a/binding.gyp +++ b/binding.gyp @@ -9,24 +9,26 @@ 'SpectreMitigation': 'Spectre' }, 'msvs_settings': { - 'VCCLCompilerTool': { - 'AdditionalOptions': [ - '/guard:cf', - '/sdl', - '/W3', - '/we4146', - '/we4244', - '/we4267', - '/ZH:SHA_256' - ] - }, - 'VCLinkerTool': { - 'AdditionalOptions': [ - '/DYNAMICBASE', - '/guard:cf' - ] - } + 'VCCLCompilerTool': { + 'AdditionalOptions': [ + '/guard:cf', + '/sdl', + '/W3', + '/we4146', + '/we4244', + '/we4267', + '/ZH:SHA_256' + ] }, + 'VCLinkerTool': { + 'AdditionalOptions': [ + '/DYNAMICBASE', + '/guard:cf' + ] + } + }, + }, { + 'cflags': ['-O2', '-fstack-protector-strong'], }], ], }, @@ -60,7 +62,7 @@ 'libraries': [ '-lutil' ], - 'cflags': ['-Wall', '-O2'], + 'cflags': ['-Wall'], 'ldflags': [], 'conditions': [ # http://www.gnu.org/software/gnulib/manual/html_node/forkpty.html