mirror of
https://github.com/libretro/melonDS.git
synced 2025-02-21 09:00:29 +00:00
libretro: Only enable x64 dynarec on x86_64
This commit is contained in:
parent
849148608e
commit
0d7638c82f
10
Makefile
10
Makefile
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user