Commit 2a227892 authored by Thomas Guillem's avatar Thomas Guillem

build: remove ASAN flag

Not supported anymore.
parent b16ce907
......@@ -165,12 +165,6 @@ else
NDK_DEBUG=1
fi
if [ "${ASAN}" = 1 ];then
VLC_CFLAGS="${VLC_CFLAGS} -O0 -fno-omit-frame-pointer -fsanitize=address"
VLC_CXXFLAGS="${VLC_CXXFLAGS} -O0 -fno-omit-frame-pointer -fsanitize=address"
VLC_LDFLAGS="${VLC_LDFLAGS} -ldl -fsanitize=address"
fi
###############
# DISPLAY ABI #
###############
......
......@@ -17,7 +17,6 @@ checkfail()
#############
RELEASE=0
ASAN=0
while [ $# -gt 0 ]; do
case $1 in
help|--help)
......@@ -32,9 +31,6 @@ while [ $# -gt 0 ]; do
-c)
CHROME_OS=1
;;
--asan)
ASAN=1
;;
release|--release)
RELEASE=1
;;
......@@ -328,9 +324,6 @@ if [ "${CHROME_OS}" = "1" ];then
else
VLC_BUILD_DIR=build-android-${TARGET_TUPLE}
fi
if [ "${ASAN}" = 1 ];then
VLC_BUILD_DIR=${VLC_BUILD_DIR}-asan
fi
VLC_BUILD_DIR=`realpath ${VLC_BUILD_DIR}`
mkdir -p $VLC_BUILD_DIR && cd $VLC_BUILD_DIR
......
......@@ -19,7 +19,6 @@ checkfail()
MEDIALIBRARY_HASH=c4a1c6e
RELEASE=0
ASAN=0
while [ $# -gt 0 ]; do
case $1 in
help|--help)
......@@ -31,9 +30,6 @@ while [ $# -gt 0 ]; do
ANDROID_ABI=$2
shift
;;
--asan)
ASAN=1
;;
release|--release)
RELEASE=1
;;
......
......@@ -65,9 +65,6 @@ while [ $# -gt 0 ]; do
run)
RUN=1
;;
--asan)
ASAN=1
;;
--no-ml)
NO_ML=1
;;
......@@ -274,9 +271,6 @@ compile() {
if [ "$CHROME_OS" = 1 ]; then
OPTS="$OPTS -c"
fi
if [ "$ASAN" = 1 ]; then
OPTS="$OPTS --asan"
fi
# Build LibVLC if asked for it, or needed by medialibrary
if [ "$BUILD_MEDIALIB" != 1 -o ! -d "libvlc/jni/libs/$1" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment