projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0896ebe
)
changed compiling on Android to use optimization for release builds
author
Holger Schemel
<info@artsoft.org>
Fri, 2 Oct 2020 13:09:57 +0000
(15:09 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 2 Oct 2020 13:09:57 +0000
(15:09 +0200)
src/Android.mk
patch
|
blob
|
history
diff --git
a/src/Android.mk
b/src/Android.mk
index 9cc304735b4f7251ca54bdabfdc35123bea48723..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
-# OPTIONS = -O2 -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