try to avoid warning flood on android master github/master
authornotaz <notasas@gmail.com>
Mon, 16 Mar 2026 01:02:20 +0000 (03:02 +0200)
committernotaz <notasas@gmail.com>
Mon, 16 Mar 2026 01:02:20 +0000 (03:02 +0200)
jni/Android.mk
libpcsxcore/psxcommon.h

index 3e016ca..8444e1f 100644 (file)
@@ -178,6 +178,9 @@ endif
   SOURCES_C   += $(DYNAREC_DIR)/emu_if.c
 
 ifeq ($(HAVE_LIGHTREC),1)
+  ifeq ($(findstring clang,$(notdir $(TARGET_CC))),clang)
+    COREFLAGS += -Wno-initializer-overrides
+  endif
   COREFLAGS   += -DLIGHTREC -DLIGHTREC_STATIC -DLIGHTREC_CODE_INV=0
   EXTRA_INCLUDES += $(DEPS_DIR)/lightning/include \
                    $(DEPS_DIR)/lightrec \
index 845fc61..d181eb2 100644 (file)
@@ -80,7 +80,6 @@ typedef uint8_t boolean;
 #ifndef _WIN32
 #define strnicmp strncasecmp
 #endif
-#define __inline inline
 
 // Enables NLS/internationalization if active
 #ifdef ENABLE_NLS