From da2367647e5c908b42125f2b89230dac87612691 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 28 Feb 2021 22:29:09 +0800 Subject: [PATCH] Update get-clang.sh sysroot --- src/get-clang.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/get-clang.sh b/src/get-clang.sh index 80e8b01dbf..c721dbf36b 100755 --- a/src/get-clang.sh +++ b/src/get-clang.sh @@ -8,6 +8,11 @@ case "$ARCH" in esac build_sysroot() { + . ./get-sysroot.sh + sysroot=$(get_sysroot) + if [ -d $sysroot/lib ]; then + return + fi ./build/linux/sysroot_scripts/sysroot-creator-sid-naive.sh "BuildSysroot$1" }