* testsuite/config-guess.sh (run_config_guess): Set CC_FOR_BUILD

to no_compiler_found so that we don't erroneously use the compiler
	of the host running the testsuite.
	* testsuite/config-guess.data: Adjust ARM FreeBSD expected output.
This commit is contained in:
Ben Elliston
2019-01-03 11:09:27 +11:00
parent c701dfb820
commit d0452dbb43
3 changed files with 10 additions and 3 deletions

View File

@ -30,7 +30,7 @@ run_config_guess()
[ \$1 = -p ] && echo "@PROCESSOR@" && exit 0
EOF
chmod +x uname
output=$(sh -eu ../config.guess 2>/dev/null)
output=$(CC_FOR_BUILD=no_compiler_found sh -eu ../config.guess 2>/dev/null)
if test $? != 0 ; then
echo "FAIL: unable to guess $machine:$release:$system:$version"
rc=1