* config.guess (set_cc_for_build): Guard against $CC_FOR_BUILD,

$HOST_CC and $CC being undefined by using ${var-} style expansion.
	(*:NetBSD:*:*): Likewise for $abi.
	* testsuite/config-guess.sh: Run config.guess under `sh -eu'.
This commit is contained in:
Ben Elliston
2018-05-19 18:58:37 +10:00
parent 32d5bd9cec
commit 382847f038
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2018-05-19 Ben Elliston <bje@gnu.org>
* config.guess (set_cc_for_build): Guard against $CC_FOR_BUILD,
$HOST_CC and $CC being undefined by using ${var-} style expansion.
(*:NetBSD:*:*): Likewise for $abi.
* testsuite/config-guess.sh: Run config.guess under `sh -eu'.
2018-05-19 Ben Elliston <bje@gnu.org>
* testsuite/config-guess.sh: Set -eu for robustness. Run