Skip to content

Commit 6f1f955

Browse files
gibfahnMylesBorins
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 <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 16e97ab commit 6f1f955

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
@@ -637,7 +637,7 @@ def host_arch_cc():
637637
'__MIPSEL__' : 'mipsel',
638638
'__mips__' : 'mips',
639639
'__PPC64__' : 'ppc64',
640-
'__PPC__' : 'ppc',
640+
'__PPC__' : 'ppc64',
641641
'__x86_64__' : 'x64',
642642
'__s390__' : 's390',
643643
'__s390x__' : 's390x',

0 commit comments

Comments
 (0)