This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Allow building with libc++ #7919
Closed
Description
On OSX, the new STL library is libc++:
In order to build Node and V8 using libc++, the -stdlib flag has to be plumbed through the build system.
Gyp needs to be updated to include the fix for CLANG_CXX_LIBRARY:
https://code.google.com/p/gyp/source/detail?spec=svn1948&r=1921
And then the configure system needs a way of specifying the value for CLANG_CXX_LIBRARY so it can be set to libc++
There are some benefits to using libc++ (performance/memory), and it will have to happen eventually if any of the C++11 features are used anywhere in the project. Would be very nice to have.