diff options
author | João Reis <reis@janeasystems.com> | 2015-12-02 04:54:02 +0000 |
---|---|---|
committer | João Reis <reis@janeasystems.com> | 2015-12-09 14:48:59 +0000 |
commit | 0e3912be0b92db6b920cad8ef0024389c7f3aae0 (patch) | |
tree | 936dd8324669127f7f16be9e4161d654ffcf4685 /configure | |
parent | 6ca5ea38602c07260bf422b0ae97f7f8160e661a (diff) | |
download | node-new-0e3912be0b92db6b920cad8ef0024389c7f3aae0.tar.gz |
configure: respect CC_host in host arch detection
When cross compiling, GYP uses the variables CC_host and CXX_host to
find the host compiler, if they are defined. This ensures that
variable is used, if defined, when detecting the host architecture.
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/4117
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -589,7 +589,7 @@ def host_arch_cc(): # would be xlc so hard code gcc k = cc_macros('gcc') else: - k = cc_macros() + k = cc_macros(os.environ.get('CC_host')) matchup = { '__aarch64__' : 'arm64', |