Permalink
Browse files

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: #8317
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information...
ofrobots authored and jasnell committed Jul 22, 2016
1 parent 197d187 commit 8481ea1ca4e46c83ef314ec8ae5e3ae74260822b
Showing with 1 addition and 0 deletions.
  1. +1 −0 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++',
},
}],
],

0 comments on commit 8481ea1

Please sign in to comment.