]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/ppc/configure.ac
sim: mips/ppc/riscv: re-add AC_CANONICAL_SYSTEM [PR sim/29439]
[thirdparty/binutils-gdb.git] / sim / ppc / configure.ac
index 75232006e94a871b75b99ecb81831b08960c8ce6..b5909b705719f42d0e561d3425ce0e4a8a5b6793 100644 (file)
@@ -5,6 +5,10 @@ AC_CONFIG_MACRO_DIRS([../.. ../../config])
 AC_PROG_INSTALL
 AC_PROG_CC
 
+dnl The sim shouldn't be checking $target and changing behavior.  But it is,
+dnl and until we clean that up, we need to expand --target for use below.
+AC_CANONICAL_SYSTEM
+
 AC_ARG_ENABLE(sim-bitsize,
 [  --enable-sim-bitsize=n              Specify target bitsize (32 or 64).],
 [case "${enableval}" in