* configure.in (targargs): Pass --build if we're doing
authorBob Manson <manson@cygnus>
Fri, 13 Jun 1997 04:15:12 +0000 (04:15 +0000)
committerBob Manson <manson@cygnus>
Fri, 13 Jun 1997 04:15:12 +0000 (04:15 +0000)
a cross-compile.

Fix problems with the build defaulting to the host value if it isn't
specified.

ChangeLog
configure.in

index da85540e5a386c22c2ddfd322a244bf2444aef01..a00f1ca0f083e3282069400c23e354535b833a37 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 12 21:12:28 1997  Bob Manson  <manson@charmed.cygnus.com>
+
+       * configure.in (targargs): Pass --build if we're doing
+       a cross-compile.
+
 Fri Jun  6 21:38:40 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
 
        * configure: Use '|' instead of ":" as the seperator in
index ac40b2b400a37f4cfdbe95fe4bff87f6ed2aa005..112aa2ea6588592d27c4f499e1240d51e5dc1537 100644 (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.