continuous-build.sh: set CC=x86_64-jehanne-gcc
This commit is contained in:
parent
26b0591c41
commit
11d420e1f0
|
@ -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..."
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue