summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGibson Fahnestock <gib@uk.ibm.com>2016-11-16 16:02:57 +0000
committerGibson Fahnestock <gib@uk.ibm.com>2016-11-21 10:52:51 +0000
commit515b1f397208c1c47eb50fca0f1ca374ba4fa71b (patch)
tree9d966fe20c0749de12be540340116673edd538a7 /configure
parentd6dc2e8d442e6bb4427317005519aafe9c2c25d1 (diff)
downloadandroid-node-v8-515b1f397208c1c47eb50fca0f1ca374ba4fa71b.tar.gz
android-node-v8-515b1f397208c1c47eb50fca0f1ca374ba4fa71b.tar.bz2
android-node-v8-515b1f397208c1c47eb50fca0f1ca374ba4fa71b.zip
build: default to ppc64 on AIX
The ./configure python script searches `gcc -dM -E -` for the ARCH flags. On AIX, gcc builds in 32 bit mode by default prior to gcc v6, so you don't get the __PPC64__ flag unless you run `gcc -maix64 -dM -E -`. We don't support ppc 32 bit for any OS, so always use ppc64 as the host_arch. PR-URL: https://github.com/nodejs/node/pull/9645 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index af46f13225..88be15abdb 100755
--- a/configure
+++ b/configure
@@ -677,7 +677,7 @@ def host_arch_cc():
'__MIPSEL__' : 'mipsel',
'__mips__' : 'mips',
'__PPC64__' : 'ppc64',
- '__PPC__' : 'ppc',
+ '__PPC__' : 'ppc64',
'__x86_64__' : 'x64',
'__s390__' : 's390',
'__s390x__' : 's390x',