old_contents: {
    'targets': [
      {
        'target_name': 'eigen',
        'sources': [
          'src/EigenJS.cpp'
        ],
        'include_dirs': [
          'deps',
          "<!(node -e \"require('nan')\")"
        ],
        'conditions': [
          ['OS=="win"', {
            'msvs_settings': {
              'VCCLCompilerTool': {
                'ExceptionHandling': 1,
                'AdditionalOptions': [ '/GR', '/EHsc', '/wd4018', '/wd4506' ]
              }
            }
          }],
          ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
            'cflags': [ '-std=c++0x' ],
            'cflags_cc!': [ '-fno-rtti', '-fno-exceptions']
          }],
          ['OS=="mac"', {
            'xcode_settings': {
              'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
              'GCC_ENABLE_CPP_RTTI': 'YES',
              'OTHER_CPLUSPLUSFLAGS': [ '-std=c++11', '-stdlib=libc++' ],
              'OTHER_LDFLAGS': [ '-stdlib=libc++' ],
              'MACOSX_DEPLOYMENT_TARGET': '10.7'
            }
          }]
        ]
      }
    ]
  }
  
new_contents: {
    'targets': [
      {
        'target_name': 'eigen',
        'sources': [
          'src/EigenJS.cpp'
        ],
        'include_dirs': [
          'deps',
          "<!(node -e \"require('nan')\")"
        ],
        'conditions': [
          ['OS=="win"', {
            'msvs_settings': {
              'VCCLCompilerTool': {
                'ExceptionHandling': 1,
                'AdditionalOptions': [ '/GR', '/EHsc', '/wd4018', '/wd4506' ]
              }
            }
          }],
          ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
            'cflags': [ '-std=gnu++11' ],
            'cflags_cc!': [ '-fno-rtti', '-fno-exceptions']
          }],
          ['OS=="mac"', {
            'xcode_settings': {
              'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
              'GCC_ENABLE_CPP_RTTI': 'YES',
              'OTHER_CPLUSPLUSFLAGS': [ '-std=c++11', '-stdlib=libc++' ],
              'OTHER_LDFLAGS': [ '-stdlib=libc++' ],
              'MACOSX_DEPLOYMENT_TARGET': '10.7'
            }
          }]
        ]
      }
    ]
  }
  
subject: change '-std=c++0x' to '-std=gnu++11' for linux