obligatory forgotten android fixup
authornotaz <notasas@gmail.com>
Fri, 17 May 2024 21:53:14 +0000 (00:53 +0300)
committernotaz <notasas@gmail.com>
Fri, 17 May 2024 21:53:14 +0000 (00:53 +0300)
Makefile
jni/Android.mk

index 55a7bb4..fd26de1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -138,8 +138,8 @@ OBJS += deps/lightning/lib/jit_disasm.o \
                deps/lightrec/optimizer.o \
                deps/lightrec/regcache.o
 deps/lightning/%.o: CFLAGS += -DHAVE_MMAP=P_HAVE_MMAP
-deps/lightning/%: CFLAGS += -w
-deps/lightrec/%: CFLAGS += -w
+deps/lightning/%: CFLAGS += -Wno-uninitialized
+deps/lightrec/%: CFLAGS += -Wno-uninitialized
 libpcsxcore/lightrec/mem.o: CFLAGS += -D_GNU_SOURCE
 ifeq ($(MMAP_WIN32),1)
 CFLAGS += -Iinclude/mman -I deps/mman
index e633337..a858d3b 100644 (file)
@@ -186,8 +186,7 @@ ifeq ($(HAVE_LIGHTREC),1)
                                          $(DEPS_DIR)/lightning/lib/jit_print.c \
                                          $(DEPS_DIR)/lightning/lib/jit_size.c \
                                          $(DEPS_DIR)/lightning/lib/lightning.c
-  SOURCES_C   += $(CORE_DIR)/lightrec/plugin.c \
-                $(CORE_DIR)/lightrec/internals.c
+  SOURCES_C   += $(CORE_DIR)/lightrec/plugin.c
 ifeq ($(LIGHTREC_CUSTOM_MAP),1)
   SOURCES_C   += $(CORE_DIR)/lightrec/mem.c
 endif