Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
gyp: Inherit CC/CXX for CC/CXX.host #6173
Affected core subsystem(s)
Description of change
Gyp defaults to gcc/g++ if CC.host/CXX.host is unset. This is not suitable for environments that only uses the clang toolchain.
Since we already assume that the user will provide clang/clang++ through CC/CXX, lean against it (then drop to gcc/g++).
I don't think this will be accepted upstream but I guess I should give it a try.
CI on FreeBSD with custom configure flags:
Final CI run: https://ci.nodejs.org/job/node-test-pull-request/2375/