aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Cercueil2020-02-08 13:00:30 -0300
committerPaul Cercueil2020-02-08 13:00:30 -0300
commit1532f1b13b79ed49927e886e5d526bb27dc5927c (patch)
tree24948f5e90cc104369326239dcde2f73b8cb944c /Makefile
parent0adc619b5a5705d16cc6caea64951776ababbb96 (diff)
downloadpcsx_rearmed-1532f1b13b79ed49927e886e5d526bb27dc5927c.tar.gz
pcsx_rearmed-1532f1b13b79ed49927e886e5d526bb27dc5927c.tar.bz2
pcsx_rearmed-1532f1b13b79ed49927e886e5d526bb27dc5927c.zip
Fix Linux build
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7afced6..d7f734f 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,7 @@ libpcsxcore/psxbios.o: CFLAGS += -Wno-nonnull
# dynarec
ifeq "$(DYNAREC)" "lightrec"
CFLAGS += -Ideps/lightning/include -Ideps/lightrec \
- -I deps/mman -DLIGHTREC -DLIGHTREC_STATIC
+ -DLIGHTREC -DLIGHTREC_STATIC
OBJS += libpcsxcore/lightrec/plugin.o
OBJS += deps/lightning/lib/jit_disasm.o \
deps/lightning/lib/jit_memory.o \
@@ -99,6 +99,7 @@ OBJS += deps/lightning/lib/jit_disasm.o \
deps/lightrec/regcache.o \
deps/lightrec/recompiler.o
ifeq ($(MMAP_WIN32),1)
+CFLAGS += -Ideps/mman
OBJS += deps/mman/mman.o
endif
else ifeq "$(DYNAREC)" "ari64"