notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is litterally all that was required to build on Solaris 11. Portability FTW.
[pcsx_rearmed.git]
/
jni
/
Android.mk
diff --git
a/jni/Android.mk
b/jni/Android.mk
index
43a98da
..
9dd9e39
100644
(file)
--- a/
jni/Android.mk
+++ b/
jni/Android.mk
@@
-2,6
+2,11
@@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include $(CLEAR_VARS)
+GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
+ifneq ($(GIT_VERSION)," unknown")
+ LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
+endif
+
APP_DIR := ../../src
#fix stupid change in ndk r11 that breaks compiling even when the exe would run fine
APP_DIR := ../../src
#fix stupid change in ndk r11 that breaks compiling even when the exe would run fine