CFLAGS += -Ifrontend/3ds -I$(CTRULIB)/include
CFLAGS += -Werror=implicit-function-declaration
CFLAGS += -DHAVE_UNISTD_H
- CFLAGS += -D_LZMA_UINT32_IS_ULONG
+ CFLAGS += -DZ7_DECL_Int32_AS_long
OBJS += frontend/3ds/utils.o
# -mwup was removed in newer devkitPPC versions
CFLAGS += -DHW_WUP
CFLAGS += -I frontend/wiiu
- CFLAGS += -D_LZMA_UINT32_IS_ULONG
+ CFLAGS += -DZ7_DECL_Int32_AS_long
LIGHTREC_CUSTOM_MAP := 1
LIGHTREC_CUSTOM_MAP_OBJ := libpcsxcore/lightrec/mem_wiiu.o
endif
EXTRA_INCLUDES += $(LCHDR)/include $(LCHDR_LZMA)/include $(LCHDR_ZSTD)
COREFLAGS += -DHAVE_CHD -DZ7_ST -DZSTD_DISABLE_ASM
ifeq (,$(call gte,$(APP_PLATFORM_LEVEL),18))
+ifneq ($(TARGET_ARCH_ABI),arm64-v8a)
+# HACK
COREFLAGS += -Dgetauxval=0*
endif
+endif
COREFLAGS += -ffast-math -funroll-loops -DHAVE_LIBRETRO -DNO_FRONTEND -DFRONTEND_SUPPORTS_RGB565 -DANDROID -DREARMED
COREFLAGS += -DP_HAVE_MMAP=1 -DP_HAVE_PTHREAD=1 -DP_HAVE_POSIX_MEMALIGN=1