force configure

This commit is contained in:
Jay Lee
2019-07-26 15:51:35 -04:00
parent 1a11cb04f9
commit ffd1c297e5

View File

@@ -56,12 +56,14 @@ else
if [[ "$dist" == "bionic" ]]; then
echo "running bionic make clean"
make clean
rm Makefile
fi
echo "Compiling Python $BUILD_PYTHON_VERSION..."
safe_flags="--with-openssl=$mypath/ssl --enable-shared --prefix=$mypath/python --with-ensurepip=upgrade"
unsafe_flags="--enable-optimizations --with-lto"
if [ ! -e Makefile ]; then
echo "running configure with safe and unsafe"
./configure $safe_flags $unsafe_flags > /dev/null
fi
make -j$cpucount -s