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ö committed 2025-04-21 13:59:39 +03:00
1 parent 3976b3af59
commit 424a1ede1b
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ export PATH=$PREFIX/bin:$PATH
: ${LLDB:=lldb.exe} : ${LLDB:=lldb.exe}
: ${OBJCOPY:=objcopy.exe} : ${OBJCOPY:=objcopy.exe}
TARGET=$(clang.exe --version | grep Target: | awk '{print $2}') TARGET=$(clang.exe -dumpmachine)
ARCH="${TARGET%%-*}" ARCH="${TARGET%%-*}"
cd test cd test