diff options
author | Twinaphex | 2015-03-14 05:16:15 +0100 |
---|---|---|
committer | Twinaphex | 2015-03-14 05:16:15 +0100 |
commit | 3309d13f80b94d380cca6b386a6c0dcaeefa5ac7 (patch) | |
tree | d7f200549ee6d9196d343219d2ec693a7d41828b | |
parent | d57f89f3f1cb7730fdaabda0237833ef3235c22c (diff) | |
parent | cc31802c5907a9ca0b0d57148c273ef0207f6ab0 (diff) | |
download | picogpsp-3309d13f80b94d380cca6b386a6c0dcaeefa5ac7.tar.gz picogpsp-3309d13f80b94d380cca6b386a6c0dcaeefa5ac7.tar.bz2 picogpsp-3309d13f80b94d380cca6b386a6c0dcaeefa5ac7.zip |
Merge pull request #13 from sergiobenrocha2/master
[ARM] Enable dynarec, works at least in rpi.
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |