aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2005-05-05 01:36:32 +0000
committerMike Stump <mrs@apple.com>2005-05-05 01:36:32 +0000
commitae380b457346a93dc674ab191fbfbd0dd92c2583 (patch)
tree7c68430a60c1a394d699080883afdb1c8d8c7f99 /configure.in
parent76856a408b39ea1f7e339c4ba1267354ddda22bd (diff)
downloadgdb-ae380b457346a93dc674ab191fbfbd0dd92c2583.zip
gdb-ae380b457346a93dc674ab191fbfbd0dd92c2583.tar.gz
gdb-ae380b457346a93dc674ab191fbfbd0dd92c2583.tar.bz2
* configure.in: Always pass --target to target configures as
otherwise rebuilds that do --recheck will fail. * confiugure: Rebuilt.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 70b8333..5dd40ce 100644
--- a/configure.in
+++ b/configure.in
@@ -1928,8 +1928,10 @@ fi
# fixed in future. It's still worthwhile to use a cache file for each
# directory. I think.
-# Pass the appropriate --host, --build, and --cache-file arguments.
-target_configargs="--cache-file=./config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}"
+# Pass the appropriate --build, --host, --target and --cache-file arguments.
+# We need to pass --target, as newer autoconf's requires consistency
+# for target_alias and gcc doesn't manage it consistently.
+target_configargs="--cache-file=./config.cache --build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}"
FLAGS_FOR_TARGET=
case " $target_configdirs " in