projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed saving artwork info cache only if it has changed
[rocksndiamonds.git]
/
src
/
Android.mk
diff --git
a/src/Android.mk
b/src/Android.mk
index f0755630c59cedb633c2bd8f120bdf4ce65dc155..0652311ffd768d6e7c7dc36fcd5ed4d8150a4e82 100644
(file)
--- a/
src/Android.mk
+++ b/
src/Android.mk
@@
-28,9
+28,11
@@
LOCAL_C_INCLUDES := \
DEBUG = -DDEBUG -g
OPTIONS = $(DEBUG) -Wall # only for debugging purposes
DEBUG = -DDEBUG -g
OPTIONS = $(DEBUG) -Wall # only for debugging purposes
-# OPTIONS = -O3 -Wall # distribution build
-# LOCAL_CFLAGS := -DTARGET_SDL2
+ifdef BUILD_DIST # distribution build
+OPTIONS = -O2 -Wall
+endif
+
LOCAL_CFLAGS := -DTARGET_SDL2 $(OPTIONS)
# application source code files
LOCAL_CFLAGS := -DTARGET_SDL2 $(OPTIONS)
# application source code files