fix before-install

This commit is contained in:
Jay Lee
2019-05-17 13:26:12 -04:00
parent 0399d96fd4
commit 06e7545f33
2 changed files with 4 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ else
unsafe_flags="--enable-optimizations --with-lto"
if [ ! -e Makefile ]; then
./configure $safe_flags $unsafe_flags > /dev/null
fi
make -j$cpucount -s
RESULT=$?
echo "First make exited with $RESULT"

View File

@@ -29,7 +29,9 @@ cd Python-$BUILD_PYTHON_VERSION
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"
./configure $safe_flags $unsafe_flags > /dev/null
if [ ! -e Makefile ]; then
./configure $safe_flags $unsafe_flags > /dev/null
fi
make -j$cpucount -s
RESULT=$?
echo "Make Python exited with $RESULT"