Skip to content

Commit 0083bf2

Browse files
gibfahnaddaleax
authored andcommitted
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: #9645 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent a220170 commit 0083bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def host_arch_cc():
677677
'__MIPSEL__' : 'mipsel',
678678
'__mips__' : 'mips',
679679
'__PPC64__' : 'ppc64',
680-
'__PPC__' : 'ppc',
680+
'__PPC__' : 'ppc64',
681681
'__x86_64__' : 'x64',
682682
'__s390__' : 's390',
683683
'__s390x__' : 's390x',

0 commit comments

Comments
 (0)