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 parent
3976b3af59
commit
424a1ede1b
1 file changed
+1
-1
+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