From: Bob Manson Date: Fri, 13 Jun 1997 04:15:12 +0000 (+0000) Subject: * configure.in (targargs): Pass --build if we're doing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=adc03ece6288d971ea4eaab90d00abef5ef49cb7;p=binutils-gdb.git * 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. --- diff --git a/ChangeLog b/ChangeLog index da85540e5a3..a00f1ca0f08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 12 21:12:28 1997 Bob Manson + + * configure.in (targargs): Pass --build if we're doing + a cross-compile. + Fri Jun 6 21:38:40 1997 Rob Savoye * configure: Use '|' instead of ":" as the seperator in diff --git a/configure.in b/configure.in index ac40b2b400a..112aa2ea658 100644 --- a/configure.in +++ b/configure.in @@ -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.