build-llvm: Remove an unused variable

This became unused in 8536b740e3.
This commit is contained in:
Martin Storsjö committed 2023-03-22 23:32:53 +02:00
1 parent d5c9fb3e04
commit 4a579e1562
1 file changed
-6
-6
View File
@@ -153,20 +153,14 @@ if [ -n "$HOST" ]; then
for dir in llvm-project/llvm/build/bin llvm-project/llvm/build-asserts/bin; do
if [ -x "$dir/llvm-tblgen.exe" ]; then
native="$(pwd)/$dir"
suffix=".exe"
break
elif [ -x "$dir/llvm-tblgen" ]; then
native="$(pwd)/$dir"
suffix=""
break
fi
done
if [ -z "$native" ] && command -v llvm-tblgen >/dev/null; then
native="$(dirname $(command -v llvm-tblgen))"
suffix=""
if [ -x "$native/llvm-tblgen.exe" ]; then
suffix=".exe"
fi
fi