fix _SPECSFLAG to prevent fail on certain occasions (#508)

This commit is contained in:
Vishal Biswas 2016-10-17 00:14:03 +05:30 committed by Fredrik Fornwall
parent 58a7009c17
commit 1596352867

View File

@ -578,7 +578,7 @@ if [ "$TERMUX_PKG_CLANG" = "no" ]; then
export AS=${TERMUX_HOST_PLATFORM}-gcc export AS=${TERMUX_HOST_PLATFORM}-gcc
export CC=$TERMUX_HOST_PLATFORM-gcc export CC=$TERMUX_HOST_PLATFORM-gcc
export CXX=$TERMUX_HOST_PLATFORM-g++ export CXX=$TERMUX_HOST_PLATFORM-g++
_SPECSFLAG="-specs=$TERMUX_SCRIPTDIR/termux.spec" _SPECSFLAG=" -specs=$TERMUX_SCRIPTDIR/termux.spec"
else else
export AS=${TERMUX_HOST_PLATFORM}-gcc export AS=${TERMUX_HOST_PLATFORM}-gcc
export CC=$TERMUX_HOST_PLATFORM-clang export CC=$TERMUX_HOST_PLATFORM-clang