diff options
author | Ben <bennyschulenburg@gmx.de> | 2024-08-27 08:31:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 08:31:26 +0000 |
commit | fef44620cc58fca454138ce77f56d49ef96bf670 (patch) | |
tree | 33ef6423b4fb8a600fac280243d25d022c345863 /python/servo/platform/__init__.py | |
parent | 173b6f183c6db86c68eb430b06a548f9e47264dc (diff) | |
download | servo-fef44620cc58fca454138ce77f56d49ef96bf670.tar.gz servo-fef44620cc58fca454138ce77f56d49ef96bf670.zip |
Fixed build error on macos (#33200)
This was due to uname reporting the architecture as arm64
instead of aarch64 on macos
Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de>
Diffstat (limited to 'python/servo/platform/__init__.py')
-rw-r--r-- | python/servo/platform/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/platform/__init__.py b/python/servo/platform/__init__.py index e06bebaf863..e09e8bf625d 100644 --- a/python/servo/platform/__init__.py +++ b/python/servo/platform/__init__.py @@ -40,7 +40,7 @@ def host_triple(): cpu_type = "x86_64" elif cpu_type == "arm": cpu_type = "arm" - elif cpu_type == "aarch64": + elif cpu_type in ["aarch64", "arm64"]: cpu_type = "aarch64" else: cpu_type = "unknown" |