summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-01 12:48:11 +0200
committerGitHub <noreply@github.com>2022-07-01 12:48:11 +0200
commit03765b298554dcbad40f45372d6c59b358d4a845 (patch)
treec18271e0107f7ccb6af6c0bf7dbdedbdb720e01a /core
parentdaec5bed575776517528bca4ac0c6c21d6d3fefb (diff)
parentb767d2e0fdf835dc181bb21c8be69a35671b60b8 (diff)
Merge pull request #62587 from bruvzg/fix_m1_build
Diffstat (limited to 'core')
-rw-r--r--core/SCsub3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/SCsub b/core/SCsub
index 3814c72877..df3e7a547a 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -129,9 +129,8 @@ if env["builtin_zstd"]:
"decompress/zstd_decompress_block.c",
"decompress/zstd_decompress.c",
]
- if env["platform"] in ["android", "linuxbsd", "osx"]:
+ if env["platform"] in ["android", "iphone", "linuxbsd", "osx"]:
# Match platforms with ZSTD_ASM_SUPPORTED in common/portability_macros.h
- # iOS x86_64 should be supported in theory, but it fails arm64 build, seems to use host S_compiler.
thirdparty_zstd_sources.append("decompress/huf_decompress_amd64.S")
thirdparty_zstd_sources = [thirdparty_zstd_dir + file for file in thirdparty_zstd_sources]