From cc31802c5907a9ca0b0d57148c273ef0207f6ab0 Mon Sep 17 00:00:00 2001 From: sergiobenrocha2 Date: Sat, 14 Mar 2015 00:59:39 -0300 Subject: [ARM] Enable dynarec, works at least in rpi. --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e3c1979..fbce907 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,8 @@ ifeq ($(platform), unix) ifeq ($(HAVE_DYNAREC),1) HAVE_MMAP = 1 endif + +# Linux portable else ifeq ($(platform), linux-portable) TARGET := $(TARGET_NAME)_libretro.so fpic := -fPIC -nostdlib @@ -240,10 +242,12 @@ else ifneq (,$(findstring armv,$(platform))) CFLAGS += -mfloat-abi=hard ASFLAGS += -mfloat-abi=hard endif - # Disable dynarec for now, issue 11 - #HAVE_DYNAREC := 1 - #CFLAGS += -DARM -DARM_ARCH -DARM_MEMORY_DYNAREC CFLAGS += -DARM -DARM_ARCH + # Dynarec works at least in rpi, take a look at issue #11 + ifeq (,$(findstring no-dynarec,$(platform))) + HAVE_DYNAREC := 1 + CFLAGS += -DARM_MEMORY_DYNAREC + endif LDFLAGS := -Wl,--no-undefined # emscripten -- cgit v1.2.3