build, fix zstd asm file usage (used only for x86)
authorkub <derkub@gmail.com>
Sat, 15 Jun 2024 14:26:12 +0000 (16:26 +0200)
committerkub <derkub@gmail.com>
Sat, 15 Jun 2024 14:26:12 +0000 (16:26 +0200)
Makefile

index 68f6539..7000643 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -337,7 +337,9 @@ ZSTD_OBJS += $(ZSTD)/common/entropy_common.o $(ZSTD)/common/error_private.o
 ZSTD_OBJS += $(ZSTD)/common/fse_decompress.o $(ZSTD)/common/xxhash.o
 ZSTD_OBJS += $(ZSTD)/common/zstd_common.o
 ZSTD_OBJS += $(ZSTD)/decompress/huf_decompress.o
+#ifneq (,$(filter x86%, $(ARCH)))
 ZSTD_OBJS += $(ZSTD)/decompress/huf_decompress_amd64.o
+#endif
 ZSTD_OBJS += $(ZSTD)/decompress/zstd_ddict.o
 ZSTD_OBJS += $(ZSTD)/decompress/zstd_decompress_block.o
 ZSTD_OBJS += $(ZSTD)/decompress/zstd_decompress.o