notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: allow to override SDL_CONFIG
[picodrive.git]
/
jni
/
Android.mk
diff --git
a/jni/Android.mk
b/jni/Android.mk
index
60d6f7d
..
bf81476
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
+
#fix stupid change in ndk r11 that breaks compiling even when the exe would run fine
LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true
#fix stupid change in ndk r11 that breaks compiling even when the exe would run fine
LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true
@@
-51,6
+56,9
@@
else
use_sh2mame = 1
endif
use_sh2mame = 1
endif
+# PD is currently not strict aliasing safe
+LOCAL_CFLAGS += -fno-strict-aliasing
+
# sources
SRCS_COMMON :=
DEFINES :=
# sources
SRCS_COMMON :=
DEFINES :=