depends: Use `CC_FOR_BUILD` for `config.guess `
On the master branch @ 3c88eac2, consider the following commands in the depends
subdirectory:
$ make print-build HOST=i686-pc-linux-gnu CC="clang -m32"
build=x86_64-pc-linux-gnu
$ make print-host HOST=i686-pc-linux-gnu CC="clang -m32"
host=i686-pc-linux-gnu
The printed variable values are expected.
However, switching the CC
variable context from Makefile to the shell environment breaks expectations:
$ CC="clang -m32" make print-build HOST=i686-pc-linux-gnu
build=i686-pc-linux-gnu
$ CC="clang -m32" make print-host HOST=i686-pc-linux-gnu
host=i686-pc-linux-gnu
This PR fixes this issue.