diff options
author | Jack Lloyd <[email protected]> | 2020-12-16 08:21:05 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-12-16 08:21:05 -0500 |
commit | 7956b455fa1b7af8881c42822253dc85b6911bd0 (patch) | |
tree | dbb58e56d177afa74046f98e163eac20e70d7f4e /configure.py | |
parent | 972266811936d5e32860302542bfadc1c0d3e553 (diff) |
Use the canonicalized arch for picking ABI flags
Otherwise someone using eg ppc64le would not get the expected flags.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py index 4ed480722..71856e5a5 100755 --- a/configure.py +++ b/configure.py @@ -969,7 +969,7 @@ class ModuleInfo(InfoObject): def compatible_cpu(self, archinfo, options): arch_name = archinfo.basename - cpu_name = options.cpu + cpu_name = options.arch if self.endian != 'any': if self.endian != options.with_endian: @@ -1330,7 +1330,7 @@ class CompilerInfo(InfoObject): # pylint: disable=too-many-instance-attributes yield all_except yield options.os - yield options.cpu + yield options.arch abi_link = set() for what in mach_abi_groups(): |