From: Kito Cheng Date: Wed, 21 Jul 2021 08:31:10 +0000 (+0800) Subject: Revert "RISC-V: Detect python and pick best one for calling multilib-generator" X-Git-Tag: basepoints/gcc-13~5879 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0335bb7d1fc7dd05e91bcdd1f65b2bcf8ec1a09;p=thirdparty%2Fgcc.git Revert "RISC-V: Detect python and pick best one for calling multilib-generator" This reverts commit e695f0101a8cacbc29353c5a000731e50b2627e6. --- diff --git a/gcc/config.gcc b/gcc/config.gcc index 3df9b52cf252..93e2b3219b99 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4730,10 +4730,9 @@ 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` case "${target}" in riscv*-*-elf*) - if ${PYTHON} ${srcdir}/config/riscv/multilib-generator \ + if ${srcdir}/config/riscv/multilib-generator \ `echo ${with_multilib_generator} | sed 's/;/ /g'`\ > t-multilib-config; then