* configure.in (targargs): Pass --build if we're doing

a cross-compile.

Fix problems with the build defaulting to the host value if it isn't
specified.
This commit is contained in:
Bob Manson
1997-06-13 04:15:12 +00:00
parent 59df24f7c2
commit adc03ece62
2 changed files with 6 additions and 1 deletions

View File

@ -878,7 +878,7 @@ targargs=`echo "${arguments}" | \
# sorts of decisions they want to make on this basis. Please consider
# this option to be deprecated. FIXME.
if [ x${is_cross_compiler} = xyes ]; then
targargs="--with-cross-host=${host_alias} ${targargs}"
targargs="--with-cross-host=${host_alias} --build=${build_alias} ${targargs}"
fi
# Default to --enable-multilib.