Prevemt gsanity insanity.

This commit is contained in:
Ian A. Mason
2017-07-20 16:11:44 -07:00
parent f34b008736
commit c0740ce4a7
+4
View File
@@ -4,6 +4,7 @@ import (
"bytes"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
)
@@ -159,6 +160,8 @@ func checkAuxiliaries() bool {
archiverName = "llvm-ar"
}
linkerName = filepath.Join(LLVMToolChainBinDir, linkerName)
linkerOK, linkerVersion, _ := checkExecutable(linkerName, "-version")
if !linkerOK {
@@ -168,6 +171,7 @@ func checkAuxiliaries() bool {
LogWrite("The bitcode linker %s is:\n\n\t%s\n\n", linkerName, extractLine(linkerVersion, 1))
}
archiverName = filepath.Join(LLVMToolChainBinDir, archiverName)
archiverOK, archiverVersion, _ := checkExecutable(archiverName, "-version")
if !archiverOK {