Commit 675244af authored by Johan Bergström's avatar Johan Bergström Committed by Evan Lucas
Browse files

gyp: inherit parent for `*.host`

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

Also apply the same logic for link/ar for consistency although
it doesn't affect us.

PR-URL: https://github.com/nodejs/node/pull/6173
Fixes: https://github.com/nodejs/node/issues/6152


Reviewed-By: default avatarJoão Reis <reis@janeasystems.com>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 83a28eef
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment