From ae380b457346a93dc674ab191fbfbd0dd92c2583 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 5 May 2005 01:36:32 +0000 Subject: * configure.in: Always pass --target to target configures as otherwise rebuilds that do --recheck will fail. * confiugure: Rebuilt. --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.in') 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 -- cgit v1.1