summaryrefslogtreecommitdiff
path: root/tcwg-llvm-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg-llvm-build.sh')
-rwxr-xr-xtcwg-llvm-build.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tcwg-llvm-build.sh b/tcwg-llvm-build.sh
index d0d8c0ab..e7a6560f 100755
--- a/tcwg-llvm-build.sh
+++ b/tcwg-llvm-build.sh
@@ -100,6 +100,7 @@ while [ "$#" -gt 0 ]; do
shift ;;
--toolchain)
if [ "$VAL" != "" ]; then
+ TOOLCHAIN="$VAL"
file=$(basename "$VAL")
dir=$(echo "$file" | sed 's/\.tar.*//g')
# Download the toolchain
@@ -126,9 +127,7 @@ while [ "$#" -gt 0 ]; do
exit 1
fi
else
- echo "ERROR: Toolchain '$VAL' not valid"
- echo "Syntax: $SYN_TOOLCHAIN"
- exit 1
+ echo "WARNING: No toolchain specified, using the system one"
fi
shift ;;
*)