From e31a1e87b920b2ad9903a9e25ce8e24afbd5992a Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sat, 11 Oct 2014 02:17:49 +0400 Subject: [PATCH 1/2] gyp: build with gnu++0x for the sake of new v8 The new v8 doesn't build on non gnu++0x, set it to a proper value for all systems. Cherry-picked from https://github.com/nodejs/io.js/commit/e43c109891dcdce3da30de1baee1d2c97cabfcd9 --- common.gypi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 83e1ee4405f6..6e834ba8fa96 100644 --- a/common.gypi +++ b/common.gypi @@ -181,7 +181,7 @@ }], [ 'OS in "linux freebsd openbsd solaris android"', { 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], - 'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ], + 'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++0x' ], 'ldflags': [ '-rdynamic' ], 'target_conditions': [ ['_type=="static_library"', { @@ -245,6 +245,12 @@ ['target_arch=="x64"', { 'xcode_settings': {'ARCHS': ['x86_64']}, }], + ['clang==1', { + 'xcode_settings': { + 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', + 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x + }, + }], ], }], ['OS=="freebsd" and node_use_dtrace=="true"', { From e8cbc52807316757cbee68b47cf04fe749662582 Mon Sep 17 00:00:00 2001 From: Alexis Campailla Date: Tue, 9 Jun 2015 18:48:26 +0200 Subject: [PATCH 2/2] Simple test blah --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index acaf24b372cb..b9c0de4e1e2c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ Evented I/O for V8 javascript. === +test me ### To build: