diff options
author | MBCX <63003002+MBCX@users.noreply.github.com> | 2024-08-29 17:12:09 -0400 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-17 08:57:41 +0200 |
commit | 4acc73dbfafe7e6cc2b806bf2e9024a213d16498 (patch) | |
tree | fa52d22ab5d1f4d981e7a37182c95a6ae2b5cf45 /core | |
parent | e549ab35fa163132159347b10f59608eadf54574 (diff) | |
download | redot-engine-4acc73dbfafe7e6cc2b806bf2e9024a213d16498.tar.gz |
Make sure huf_decompress is only applied to 64-bit x86.
(cherry picked from commit 6b13236956bcf38fdeff460fc8e49acdd7af3d6e)
Diffstat (limited to 'core')
-rw-r--r-- | core/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/SCsub b/core/SCsub index 1bd4eae16c..c8267ae960 100644 --- a/core/SCsub +++ b/core/SCsub @@ -140,7 +140,7 @@ if env["builtin_zstd"]: "decompress/zstd_decompress_block.c", "decompress/zstd_decompress.c", ] - if env["platform"] in ["android", "ios", "linuxbsd", "macos"]: + if env["platform"] in ["android", "ios", "linuxbsd", "macos"] and env["arch"] == "x86_64": # Match platforms with ZSTD_ASM_SUPPORTED in common/portability_macros.h thirdparty_zstd_sources.append("decompress/huf_decompress_amd64.S") thirdparty_zstd_sources = [thirdparty_zstd_dir + file for file in thirdparty_zstd_sources] |