diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2016-07-21 18:27:07 -0700 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2016-09-22 09:55:30 +0200 |
commit | 7292a1e954e0db348ff78c704df9e105ba5667ad (patch) | |
tree | f769392d30e2ff233ad760c55f9c55a4d6be852b /common.gypi | |
parent | 785506a1fc460323074dbeffb27b4518c404e9b4 (diff) | |
download | node-new-7292a1e954e0db348ff78c704df9e105ba5667ad.tar.gz |
build: use libc++ on OSX
V8 now depends on C++11 runtime features. On OSX this requires us to
link against the libc++ library rather than the deprecated default
that is provided with -mmacosx-version-min=10.7.
PR-URL: https://github.com/nodejs/node/pull/8317
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'common.gypi')
-rw-r--r-- | common.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi index 0838af6b38..d1411ed1c6 100644 --- a/common.gypi +++ b/common.gypi @@ -385,6 +385,7 @@ 'xcode_settings': { 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x + 'CLANG_CXX_LIBRARY': 'libc++', }, }], ], |