github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/node-syscall/binding.gyp (about)

     1  {
     2    'targets': [
     3      {
     4        'target_name': 'syscall',
     5        'sources': [ 'syscall.cc' ],
     6  
     7        'cflags!': [ '-fno-exceptions' ],
     8        'cflags_cc!': [ '-fno-exceptions' ],
     9        'xcode_settings': {
    10          'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
    11          'CLANG_CXX_LIBRARY': 'libc++',
    12          'MACOSX_DEPLOYMENT_TARGET': '10.7',
    13        },
    14        'msvs_settings': {
    15          'VCCLCompilerTool': { 'ExceptionHandling': 1 },
    16        },
    17      },
    18    ],
    19  }