[Android] buildsystem: disable branch-protection for debug builds

Thomas Guillem git at videolan.org
Thu Jan 30 16:03:40 CET 2020


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan 30 16:02:34 2020 +0100| [7b2689bd3f50c678b1b609a2c9b4d7b42b839059] | committer: Thomas Guillem

buildsystem: disable branch-protection for debug builds

In order to be able to use gdb.

> https://code.videolan.org/videolan/vlc-android/commit/7b2689bd3f50c678b1b609a2c9b4d7b42b839059
---

 buildsystem/compile-libvlc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildsystem/compile-libvlc.sh b/buildsystem/compile-libvlc.sh
index 9d54e4cb2..7d42a8bc2 100755
--- a/buildsystem/compile-libvlc.sh
+++ b/buildsystem/compile-libvlc.sh
@@ -528,7 +528,7 @@ export ac_cv_func_tfind=no
 if [ ! -e ./config.h -o "$AVLC_RELEASE" = 1 ]; then
     VLC_CONFIGURE_DEBUG=""
     if [ ! "$AVLC_RELEASE" = 1 ]; then
-        VLC_CONFIGURE_DEBUG="--enable-debug"
+        VLC_CONFIGURE_DEBUG="--enable-debug --disable-branch-protection"
     fi
 
     CFLAGS="${VLC_CFLAGS}" \



More information about the Android mailing list