run-lldb-tests: Use -dumpmachine rather than parsing the output of --version

This matches what is done in a couple of other scripts too.
This commit is contained in:
Martin Storsjö
2025-04-19 10:57:18 +03:00
parent 3976b3af59
commit 424a1ede1b
+1 -1
View File
@@ -30,7 +30,7 @@ export PATH=$PREFIX/bin:$PATH
: ${LLDB:=lldb.exe}
: ${OBJCOPY:=objcopy.exe}
TARGET=$(clang.exe --version | grep Target: | awk '{print $2}')
TARGET=$(clang.exe -dumpmachine)
ARCH="${TARGET%%-*}"
cd test