continuous-build.sh: set CC=x86_64-jehanne-gcc

This commit is contained in:
Giacomo Tesio 2016-11-26 21:57:47 +01:00
parent 26b0591c41
commit 11d420e1f0
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
fi
export TOOLPREFIX=x86_64-jehanne-
export CC=gcc
export CC=x86_64-jehanne-gcc
echo
echo "Vendorized code verification..."

View File

@ -639,7 +639,7 @@ func findTools(toolprefix string) {
if x := os.Getenv(strings.ToUpper(k)); x != "" {
v = x
}
if v != "sh" {
if toolprefix != "" && v != "sh" && !strings.Contains(v, toolprefix) {
v = toolprefix + v;
}
v, err = exec.LookPath(v)