From 4d02c1edb1224a628de53cfb3b639271e5e2b410 Mon Sep 17 00:00:00 2001 From: WXbet <57314510+WXbet@users.noreply.github.com> Date: Sat, 5 Dec 2020 12:10:59 +0100 Subject: [PATCH] s3.TUP Fix error messages (v0.22.4) - suppress android clang errors on unsupported host platforms --- support/functions/_plugin_update_toolchain | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/functions/_plugin_update_toolchain b/support/functions/_plugin_update_toolchain index 3a94219..67080db 100644 --- a/support/functions/_plugin_update_toolchain +++ b/support/functions/_plugin_update_toolchain @@ -3,7 +3,7 @@ #simplebuild_plugin tcupdate tcupdate(){ - pversion="0.22.3"; + pversion="0.22.4"; pname="s3.TUP"; pdesc="Plugin $pname v$pversion"; configname="$configdir/plugin_update_toolchain.config"; @@ -1138,7 +1138,7 @@ _get_template_properties(){ bitness=$(grep '^ANDK_ARCH_BITNESS=' "$1" | awk -F'"' '{print $2}'); endianness="LE"; libc="libc++" && libcv="API $(grep '^ANDK_API=' "$1" | awk -F'"' '{print $2}')"; - cc="clang" && ccv=" $($andksrcdir/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -dumpversion)"; + cc="clang" && ccv=" $($andksrcdir/toolchains/llvm/prebuilt/linux-x86_64/bin/clang 2>/dev/null -dumpversion || echo "not supported on $(uname -i) hosts")"; kernel="Linux" && kernelv="4.9.0"; else setup=0;