From 39ed39900e34e10f40d0d06ed358d2641d7f3315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 24 Jan 2022 11:04:45 +0100 Subject: zstd: Update to upstream version 1.5.2 Release notes: - https://github.com/facebook/zstd/releases/tag/v1.5.1 - https://github.com/facebook/zstd/releases/tag/v1.5.2 --- core/SCsub | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/SCsub') diff --git a/core/SCsub b/core/SCsub index 1379e9df9b..3814c72877 100644 --- a/core/SCsub +++ b/core/SCsub @@ -129,6 +129,10 @@ if env["builtin_zstd"]: "decompress/zstd_decompress_block.c", "decompress/zstd_decompress.c", ] + if env["platform"] in ["android", "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] env_thirdparty.Prepend(CPPPATH=[thirdparty_zstd_dir, thirdparty_zstd_dir + "common"]) -- cgit v1.2.3