build, fix zstd asm file usage (used only for x86)

This commit is contained in:
kub 2024-06-15 16:21:10 +00:00
parent 7aca6897ad
commit e8ca10820c
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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