Update build.sh

This commit is contained in:
Stephen 2017-11-29 08:18:08 -08:00 committed by Henrik Grimler
parent e9e9029461
commit 80526ff808

View File

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