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