Fix ppc64 detection in Debian.

Original patch by Helmut Grohne.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023744
This commit is contained in:
Jussi Pakkanen 2022-11-09 16:05:16 +02:00
parent 69dae6395d
commit 318579b367
1 changed files with 3 additions and 1 deletions

View File

@ -130,7 +130,9 @@ def get_args_from_envvars(infos: MachineInfo) -> None:
cpu_family_map = dict(mips64el="mips64",
i686='x86')
cpu_map = dict(armhf="arm7hlf",
mips64el="mips64",)
mips64el="mips64",
powerpc64le="ppc64",
)
def deb_compiler_lookup(infos: MachineInfo, compilerstems: T.List[T.Tuple[str, str]], host_arch: str, gccsuffix: str) -> None:
for langname, stem in compilerstems: