Skip to content

Commit

Permalink
build: use libc++ on OSX
Browse files Browse the repository at this point in the history
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: nodejs#8317
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
ofrobots authored and targos committed Sep 22, 2016
1 parent 785506a commit 7292a1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -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++',
},
}],
],
Expand Down

0 comments on commit 7292a1e

Please sign in to comment.