[Android] Build with -O2
Rafaël Carré
git at videolan.org
Fri Jan 11 11:18:36 CET 2013
vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jan 11 11:17:05 2013 +0100| [977ba652bba9b9482c5b276974d2da1a74acbc2d] | committer: Rafaël Carré
Build with -O2
big_buck_bunny_1080p_h264.mov is 2.67% faster on Galaxy Note II
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=977ba652bba9b9482c5b276974d2da1a74acbc2d
---
compile.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/compile.sh b/compile.sh
index 32200b5..e6c65de 100755
--- a/compile.sh
+++ b/compile.sh
@@ -152,6 +152,8 @@ else
exit 2
fi
+EXTRA_CFLAGS="${EXTRA_CFLAGS} -O2"
+
EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/include"
EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI}/include"
More information about the Android
mailing list