On Jul 20 2021, Kito Cheng wrote:

> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index 93e2b3219b9..3df9b52cf25 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -4730,9 +4730,10 @@ case "${target}" in
>                               echo "--with-multilib-list= can't used with 
> --with-multilib-generator= at same time" 1>&2
>                               exit 1
>                       fi
> +                     PYTHON=`which python || which python3 || which python2`

which is a non-standard utility.  Additionally, you will get extra
output on stderr when one of the commands is not found.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to