aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jni/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index b890e2f..579cb12 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -1,11 +1,12 @@
LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
-include $(CLEAR_VARS)
-
CORE_DIR := ../source
LIBRETRO_DIR := ..