Update build.sh

This commit is contained in:
Stephen 2017-11-29 08:18:08 -08:00 committed by Henrik Grimler
parent 2794fc71f2
commit 895babcf41

View File

@ -59,6 +59,9 @@ termux_step_post_extract_package () {
} }
termux_step_host_build () { termux_step_host_build () {
if [ ! -z ${TERMUX_INSTALL_DEPS+x} ]; then
apt-get $TERMUX_APT purge ndk-sysroot
fi
termux_setup_cmake termux_setup_cmake
cmake -G "Unix Makefiles" $TERMUX_PKG_SRCDIR \ cmake -G "Unix Makefiles" $TERMUX_PKG_SRCDIR \
-DLLVM_BUILD_TESTS=OFF \ -DLLVM_BUILD_TESTS=OFF \