From 2d4a8d79591b1d50cd84792f9dd3c6b08121adff Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Tue, 16 Jul 2024 21:14:14 +0800 Subject: [PATCH] constants.py: fix powerpc arch detection --- python/mozbuild/mozbuild/configure/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py index 00d9ff9bbf..4045a80d2b 100644 --- a/python/mozbuild/mozbuild/configure/constants.py +++ b/python/mozbuild/mozbuild/configure/constants.py @@ -79,8 +79,8 @@ CPU_preprocessor_checks = OrderedDict(( ('ia64', '__ia64__'), ('s390x', '__s390x__'), ('s390', '__s390__'), - ('ppc64', '__powerpc64__'), - ('ppc', '__powerpc__'), + ('ppc64', '__powerpc64__ || __ppc64__'), + ('ppc', '__powerpc__ || __ppc__'), ('Alpha', '__alpha__'), ('hppa', '__hppa__'), ('sparc64', '__sparc__ && __arch64__'),