[Android] compile.sh: do not add the debug symbols in release mode as they reduce the performance.

Adrien Maglo git at videolan.org
Mon Oct 28 18:10:51 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Oct 28 18:09:35 2013 +0100| [75a0b7b11dc756b31398232bad1a26ff8fdc2f19] | committer: Adrien Maglo

compile.sh: do not add the debug symbols in release mode as they reduce the performance.

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=75a0b7b11dc756b31398232bad1a26ff8fdc2f19
---

 compile.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index 7f017db..dfea875 100755
--- a/compile.sh
+++ b/compile.sh
@@ -204,10 +204,11 @@ if [ $# -ne 0 ] && [ "$1" = "release" ]; then
     EXTRA_CFLAGS="${EXTRA_CFLAGS} -DNDEBUG "
     RELEASEFLAG="RELEASE=1"
 else
+    EXTRA_CFLAGS="-g ${EXTRA_CFLAGS}"
     OPTS="--enable-debug"
 fi
 
-echo "EXTRA_CFLAGS= -g ${EXTRA_CFLAGS}" >> config.mak
+echo "EXTRA_CFLAGS= ${EXTRA_CFLAGS}" >> config.mak
 export VLC_EXTRA_CFLAGS="${EXTRA_CFLAGS}"
 
 make fetch



More information about the Android mailing list