libretro: Only enable x64 dynarec on x86_64

This commit is contained in:
Aaron Kling 2020-11-30 16:54:32 -06:00 committed by Mats
parent 849148608e
commit 0d7638c82f

View File

@ -80,7 +80,9 @@ ifeq ($(platform), unix)
LIBS +=-lpthread -lGL
HAVE_OPENGL=1
HAVE_THREADS=1
JIT_ARCH=x64
ifeq ($(ARCH),x86_64)
JIT_ARCH=x64
endif
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.$(EXT)
fpic := -fPIC -nostdlib
@ -354,14 +356,18 @@ else
ASFLAGS += -DWIN64
HAVE_OPENGL=1
HAVE_THREADS=1
ifeq ($(ARCH),x86_64)
JIT_ARCH=x64
endif
endif
endif
ifneq (,$(findstring msvc,$(platform)))
CFLAGS += -D_CRT_SECURE_NO_WARNINGS
CXXFLAGS += -D_CRT_SECURE_NO_WARNINGS
JIT_ARCH=x64
ifeq ($(ARCH),x86_64)
JIT_ARCH=x64
endif
endif
ifeq ($(DEBUG), 1)