From 15963528674208ee63d88e64317b52e4fc3950e3 Mon Sep 17 00:00:00 2001 From: Vishal Biswas Date: Mon, 17 Oct 2016 00:14:03 +0530 Subject: [PATCH] fix _SPECSFLAG to prevent fail on certain occasions (#508) --- build-package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-package.sh b/build-package.sh index 5e67cfb8b..d67b00005 100755 --- a/build-package.sh +++ b/build-package.sh @@ -578,7 +578,7 @@ if [ "$TERMUX_PKG_CLANG" = "no" ]; then export AS=${TERMUX_HOST_PLATFORM}-gcc export CC=$TERMUX_HOST_PLATFORM-gcc export CXX=$TERMUX_HOST_PLATFORM-g++ - _SPECSFLAG="-specs=$TERMUX_SCRIPTDIR/termux.spec" + _SPECSFLAG=" -specs=$TERMUX_SCRIPTDIR/termux.spec" else export AS=${TERMUX_HOST_PLATFORM}-gcc export CC=$TERMUX_HOST_PLATFORM-clang