diff options
author | twinaphex | 2014-12-10 17:06:09 +0100 |
---|---|---|
committer | twinaphex | 2014-12-10 17:06:09 +0100 |
commit | 51d78afa091d296e5545e69ed11201ee436053a1 (patch) | |
tree | de64f89c9c353493b471db18f32d10b89ba6733f /Makefile | |
parent | 512f7f5b275ec011ff0bf406771fcbeada1caf29 (diff) | |
download | picogpsp-51d78afa091d296e5545e69ed11201ee436053a1.tar.gz picogpsp-51d78afa091d296e5545e69ed11201ee436053a1.tar.bz2 picogpsp-51d78afa091d296e5545e69ed11201ee436053a1.zip |
Add HAVE_DYNAREC ifdef
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -48,6 +48,7 @@ ifeq ($(platform), unix) fpic := -fPIC FORCE_32BIT := -m32 CPU_ARCH := x86_32 + HAVE_DYNAREC := 1 SHARED := -shared $(FORCE_32BIT) -Wl,--version-script=link.T ifneq ($(findstring Haiku,$(shell uname -a)),) LIBM := @@ -215,6 +216,10 @@ OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_ASM:.S=.o) DEFINES = -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -DPC_BUILD -Wall -Werror=implicit-function-declaration +ifeq ($(HAVE_DYNAREC), 1) +DEFINES += -DHAVE_DYNAREC +endif + ifeq ($(CPU_ARCH), arm) DEFINES += -DARM_ARCH endif |