]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/riscv/configure
sim: mips/ppc/riscv: re-add AC_CANONICAL_SYSTEM [PR sim/29439]
authorMike Frysinger <vapier@gentoo.org>
Sun, 23 Oct 2022 17:01:16 +0000 (22:46 +0545)
committerMike Frysinger <vapier@gentoo.org>
Sun, 23 Oct 2022 17:06:17 +0000 (22:51 +0545)
commit89d5fc244fd6bbbb59c6d1b04eb2f048059b3dad
treed7ecc29d40a25dacbc663547aea92a89841428d0
parentdf5ffabf1cfcb6b4f04d840ef54b37de379f1ba1
sim: mips/ppc/riscv: re-add AC_CANONICAL_SYSTEM [PR sim/29439]

These configure scripts check $target and change behavior.  They
shouldn't be doing that, but until we can rework the sim to change
behavior based on the input ELF, restore AC_CANONICAL_SYSTEM to
these so that $target is correctly populated.

This was lost in the d3562f83a7b8a1ae6e333cd5561419d3da18fcb4
("sim: unify toolchain probing logic") refactor as the logic was
hoisted up to the common code.  But the fact the vars weren't
passed down to the sub-configure scripts was missed.

Bug: https://sourceware.org/PR29439
sim/mips/configure
sim/mips/configure.ac
sim/ppc/configure
sim/ppc/configure.ac
sim/riscv/configure
sim/riscv/configure.ac