From 51d78afa091d296e5545e69ed11201ee436053a1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 10 Dec 2014 17:06:09 +0100 Subject: Add HAVE_DYNAREC ifdef --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bdf1797..6e6d742 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3