-
-
Notifications
You must be signed in to change notification settings - Fork 32k
tools: use LDFLAGS_host for host toolset #37444
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
Conversation
This makes the behaviour similar to that of CFLAGS_host
This should be upstreamed first to https://github.com/nodejs/gyp-next. |
Thanks. Done in nodejs/gyp-next#98 |
What is the use case in Node.js ? |
To cross compile nodejs to a different platform. (My use case is for compiling in |
I wonder why we never had the need before. We already cross-compile for ARM on Linux. |
I think that's because the compiler is smart enough to ignore the libraries for target platform and look for only the host libraries when building |
I launched CI to check whether our cross-compilation setup works with the change. |
This was included in #38867. Thanks for the PRs! |
This makes the behaviour similar to that of CFLAGS_host