Revert "RISC-V: Detect python and pick best one for calling multilib-generator"
authorKito Cheng <kito.cheng@sifive.com>
Wed, 21 Jul 2021 08:31:10 +0000 (16:31 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Wed, 21 Jul 2021 08:31:21 +0000 (16:31 +0800)
This reverts commit e695f0101a8cacbc29353c5a000731e50b2627e6.

gcc/config.gcc

index 3df9b52..93e2b32 100644 (file)
@@ -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