From: kub Date: Sat, 15 Jun 2024 16:21:10 +0000 (+0000) Subject: build, fix zstd asm file usage (used only for x86) X-Git-Tag: v2.00~32 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ca10820ca78cf06d2c8e3aea75fa920e6b3bce;p=picodrive.git build, fix zstd asm file usage (used only for x86) --- diff --git a/Makefile b/Makefile index 70006439..486e4d01 100644 --- a/Makefile +++ b/Makefile @@ -337,9 +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))) +ifneq (,$(filter x86%, $(ARCH))) ZSTD_OBJS += $(ZSTD)/decompress/huf_decompress_amd64.o -#endif +endif ZSTD_OBJS += $(ZSTD)/decompress/zstd_ddict.o ZSTD_OBJS += $(ZSTD)/decompress/zstd_decompress_block.o ZSTD_OBJS += $(ZSTD)/decompress/zstd_decompress.o diff --git a/Makefile.libretro b/Makefile.libretro index 9a2e2ebb..578b10e8 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -64,7 +64,7 @@ endif # x86/x86_64 generic else ifneq (,$(findstring x86,$(platform))) TARGET := $(TARGET_NAME)_libretro.so - ARCH := 86 + ARCH := x86 fpic := -fPIC SHARED := -shared CFLAGS += -DFAMEC_NO_GOTOS