From 424a1ede1bbec40585e49f1c1e4855c8176a8f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sat, 19 Apr 2025 10:57:18 +0300 Subject: [PATCH] run-lldb-tests: Use -dumpmachine rather than parsing the output of --version This matches what is done in a couple of other scripts too. --- run-lldb-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-lldb-tests.sh b/run-lldb-tests.sh index a8f54ca..180313a 100755 --- a/run-lldb-tests.sh +++ b/run-lldb-tests.sh @@ -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