* config.guess: Replace large 'set_cc_for_build' shell variable,

that is executed via eval, with a POSIX shell function.
	* Makefile (shellcheck): Ignore SC2039 diagnostics ("In POSIX sh,
	RANDOM is undefined") and SC2172 ("Trapping signals by number is
	not well defined. Prefer signal names").
This commit is contained in:
Ben Elliston
2018-07-12 07:56:15 +10:00
parent ba47464ef7
commit 1e826a0344
3 changed files with 48 additions and 39 deletions

View File

@ -17,4 +17,4 @@ check-sub:
cd testsuite && sh config-sub.sh
shellcheck:
shellcheck -e SC2006 -f gcc config.guess config.sub testsuite/*.sh
shellcheck -e SC2006,SC2039,SC2172 -f gcc config.guess config.sub testsuite/*.sh