Skip to content

Commit

Permalink
fix linux arm build (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
WhalesState authored Dec 15, 2024
1 parent 58015e7 commit 0d496e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 0d496e7

Please sign in to comment.