RISC-V: Explicitly call python when using multilib generator
authorSimon Cook <simon.cook@embecosm.com>
Wed, 9 Dec 2020 10:39:28 +0000 (10:39 +0000)
committerKito Cheng <kito.cheng@sifive.com>
Thu, 10 Dec 2020 09:11:41 +0000 (17:11 +0800)
commit8d63e3c229f32d441e6ead0cb62923095b54c5f9
tree625178a7c22826e14b13945410afbb8a62f630eb
parent73cf5da233b4cd0f140dd997270e88de63e27db7
RISC-V: Explicitly call python when using multilib generator

When building GCC for RISC-V with the --with-multilib-generator option,
it may not be possible to call arch-canonicalize as an executable when
building on Windows. Instead directly invoke the expected python
interpreter for this step.

gcc/ChangeLog:

* config/riscv/multilib-generator (arch_canonicalize): Invoke
python interpreter when calling arch-canonicalize script.
gcc/config/riscv/multilib-generator