]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/mips/configure.ac
sim: mips/ppc/riscv: re-add AC_CANONICAL_SYSTEM [PR sim/29439]
[thirdparty/binutils-gdb.git] / sim / mips / configure.ac
index 96806424958ca2526dcffa92d4ebc3b849712872..bdc675842d386654ec9f48f8a19c9504f19773ae 100644 (file)
@@ -2,6 +2,10 @@ dnl Process this file with autoconf to produce a configure script.
 AC_INIT(Makefile.in)
 AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
 
+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
+
 # DEPRECATED
 #
 # Instead of defining a `subtarget' macro, code should be checking