diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-07-01 11:29:21 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-07-01 12:44:23 +0300 |
commit | b767d2e0fdf835dc181bb21c8be69a35671b60b8 (patch) | |
tree | a01b91ac4b024ac6595b606a5c8e9392a9fba522 /core | |
parent | 110248cd57b5abb82c216d4a117fd7696a593931 (diff) |
Add arch flag to assembler to fix build on ARM64 macOS / iOS.
Diffstat (limited to 'core')
-rw-r--r-- | core/SCsub | 3 |
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] |