From 0d496e7f80c542cde4177cb9054f65a2d3ae095d Mon Sep 17 00:00:00 2001 From: Mounir Tohami <53877170+WhalesState@users.noreply.github.com> Date: Sun, 15 Dec 2024 18:18:25 +0200 Subject: [PATCH] fix linux arm build (#197) --- core/SCsub | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/SCsub b/core/SCsub index 3b3b9dd419de..dfd8ab17bee6 100644 --- a/core/SCsub +++ b/core/SCsub @@ -143,6 +143,8 @@ if env["builtin_zstd"]: 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") + else: + env.Append(CPPDEFINES=["ZSTD_DISABLE_ASM"]) thirdparty_zstd_sources = [thirdparty_zstd_dir + file for file in thirdparty_zstd_sources] env_thirdparty.Prepend(CPPPATH=[thirdparty_zstd_dir, thirdparty_zstd_dir + "common"])