|
|
@ -557,7 +557,7 @@ termux_step_start_build() { |
|
|
|
TERMUX_STANDALONE_TOOLCHAIN="$TERMUX_COMMON_CACHEDIR/${TERMUX_NDK_VERSION}-${TERMUX_ARCH}-${TERMUX_PKG_API_LEVEL}" |
|
|
|
# Bump the below version if a change is made in toolchain setup to ensure |
|
|
|
# that everyone gets an updated toolchain: |
|
|
|
TERMUX_STANDALONE_TOOLCHAIN+="-v4" |
|
|
|
TERMUX_STANDALONE_TOOLCHAIN+="-v1" |
|
|
|
|
|
|
|
if [ -n "${TERMUX_PKG_BLACKLISTED_ARCHES:=""}" ] && [ "$TERMUX_PKG_BLACKLISTED_ARCHES" != "${TERMUX_PKG_BLACKLISTED_ARCHES/$TERMUX_ARCH/}" ]; then |
|
|
|
echo "Skipping building $TERMUX_PKG_NAME for arch $TERMUX_ARCH" |
|
|
@ -930,6 +930,7 @@ termux_step_setup_toolchain() { |
|
|
|
https://raw.githubusercontent.com/madler/zlib/v1.2.8/$file |
|
|
|
done |
|
|
|
unset file |
|
|
|
grep -lrw $_TERMUX_TOOLCHAIN_TMPDIR/sysroot/usr/include/c++/v1 -e '<version>' | xargs -n 1 sed -i 's/<version>/\"version\"/g' |
|
|
|
mv $_TERMUX_TOOLCHAIN_TMPDIR $TERMUX_STANDALONE_TOOLCHAIN |
|
|
|
fi |
|
|
|
|
|
|
|