Skip to content
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

gyp: inherit CC/CXX for CC/CXX.host #908

Merged
merged 1 commit into from
Apr 28, 2016
Merged

gyp: inherit CC/CXX for CC/CXX.host #908

merged 1 commit into from
Apr 28, 2016

Conversation

bnoordhuis
Copy link
Member

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++).

Refs: nodejs/node#6173

/cc @jbergstroem

@jbergstroem
Copy link
Member

LGTM, lets hold off and hope that upstream merges first. I will merge in nodejs on Monday unless anything happens.

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++).

PR-URL: #908
Refs: nodejs/node#6173
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
@bnoordhuis bnoordhuis merged commit 625c151 into nodejs:master Apr 28, 2016
@bnoordhuis bnoordhuis deleted the inherit-cxx-host branch April 28, 2016 08:28
@bnoordhuis
Copy link
Member Author

Merged as a follow-up to nodejs/node#6173 which was merged a few days ago.

@rvagg rvagg mentioned this pull request Jun 14, 2016
refack pushed a commit to refack/node-gyp that referenced this pull request Apr 23, 2017
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++).

PR-URL: nodejs#908
Refs: nodejs/node#6173
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
refack pushed a commit to refack/node-gyp that referenced this pull request Aug 19, 2017
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++).

PR-URL: nodejs#908
Refs: nodejs/node#6173
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants