From 12993b298a67c17f85492d0945f928c9b93cf853 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Wed, 16 Nov 2016 16:02:57 +0000 Subject: [PATCH] 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 Reviewed-By: James M Snell --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 377e82d095..6f799869e7 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',