android: Fix build

This commit is contained in:
negativeExponent 2021-05-23 08:58:43 +08:00 committed by GitHub
parent 501909c57b
commit fcc8b273c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ LIBRETRO_DIR := $(CORE_DIR)/libretro
FRONTEND_SUPPORTS_RGB565 := 1 FRONTEND_SUPPORTS_RGB565 := 1
TILED_RENDERING := 1 TILED_RENDERING := 1
NO_LINK := 1
include $(LIBRETRO_DIR)/Makefile.common include $(LIBRETRO_DIR)/Makefile.common
@ -18,6 +19,10 @@ ifneq ($(CURRENT_COMMIT),$(TAG_COMMIT))
COREFLAGS += -DGIT_COMMIT=\"$(CURRENT_COMMIT)\" COREFLAGS += -DGIT_COMMIT=\"$(CURRENT_COMMIT)\"
endif endif
ifeq ($(NO_LINK), 1)
COREFLAGS += -DNO_LINK
endif
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := retro LOCAL_MODULE := retro
LOCAL_SRC_FILES := $(SOURCES_CXX) LOCAL_SRC_FILES := $(SOURCES_CXX)