-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build V8 with libcxx instead of libstdc++, fixes #14230 #14271
Conversation
Be surprised if simply copying this doesn't work fine. |
@DomT4 I guess that would work as well. Would you prefer that? |
I'm no longer a maintainer here so it's not my call ultimately, but that's tried & tested, and more brewish than hardcoding in one specific version of macOS that may not align with the system the user is running. |
Right, either way works fine probably. Who is the new maintainer of this formula? |
Individual formulae do not have specific maintainers, in theory. @ilovezfs runs |
OK I'll wait for @ilovezfs to respond if he is OK with the current solution or not. |
@ilovezfs ping, does this look OK to merge? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@ilovezfs sorry for the delay. I have now changed the commit to do what you suggested and use the same lines from the |
@jeroen no worries. And I assume you've tested it works as expected? |
Yes I build locally and it seems to fix the problem. |
Theoretically you'll want the |
I think the library builds fine without CXX11, it just has to use |
I think this is good to go? |
Ping? Anything else we need to change? |
@BrewTestBot test this please |
Thanks @jeroen! Shipped :) |
See #14230 for details.
V8 3.15 uses an old version of
gyp
to build, which defaults to the legacy libstdc++. This leads to compatibility problems with applications build with clang + libcxx (default on Mavericks and up).By setting
-mmacosx-version-min=10.9
clang will build against the libcxx instead.