From 8481ea1ca4e46c83ef314ec8ae5e3ae74260822b Mon Sep 17 00:00:00 2001 From: Ali Ijaz Sheikh Date: Thu, 21 Jul 2016 18:27:07 -0700 Subject: [PATCH] build: use libc++ on OSX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Michaƫl Zasso --- common.gypi | 1 + 1 file changed, 1 insertion(+) diff --git a/common.gypi b/common.gypi index 0838af6b385f83..d1411ed1c6f19c 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++', }, }], ],