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: 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"', {