Bug 1576515 - Enable PHC on Mac r=glandium

Note that we don't appear to support 32-bit on mac so it'd be redundant to check for it.

Differential Revision: https://phabricator.services.mozilla.com/D124919
This commit is contained in:
Kris Wright 2021-09-10 01:08:53 +00:00
Родитель 9c0f04e547
Коммит b860b327ea
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -77,12 +77,11 @@ def phc_default(milestone, target, replace_malloc_default, replace_malloc):
return False
# Both Linux32 and Win32 have frequent crashes when stack tracing (for
# unclear reasons), so PHC is enabled only on 64-bit only in both cases.
#
# XXX: PHC is implemented but not yet enabled on Mac. Bug 1576515 is about
# enabling it on Mac, but it is blocked by bug 1035892.
return (
target.os == "GNU" and target.kernel == "Linux" and target.bitness == 64
) or (target.kernel == "WINNT" and target.bitness == 64)
(target.os == "GNU" and target.kernel == "Linux" and target.bitness == 64)
or (target.kernel == "WINNT" and target.bitness == 64)
or (target.os == "OSX")
)
option(