mirror of
https://github.com/mstorsjo/llvm-mingw
synced 2026-06-21 14:01:00 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user