Skip to content

Commit 8481ea1

Browse files
ofrobotsjasnell
authored andcommitted
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 <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 197d187 commit 8481ea1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common.gypi

+1
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@
385385
'xcode_settings': {
386386
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
387387
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x
388+
'CLANG_CXX_LIBRARY': 'libc++',
388389
},
389390
}],
390391
],

0 commit comments

Comments
 (0)