* configure.in (targargs): Strip out any supplied --build argument
authorBob Manson <manson@cygnus>
Fri, 13 Jun 1997 17:25:00 +0000 (17:25 +0000)
committerBob Manson <manson@cygnus>
Fri, 13 Jun 1997 17:25:00 +0000 (17:25 +0000)
  before adding our own. Always add --build.

ChangeLog
configure.in

index a00f1ca0f083e3282069400c23e354535b833a37..28b07cb5bf29d4d8d6f84be6efeaab085529cd10 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jun 13 10:22:56 1997  Bob Manson  <manson@charmed.cygnus.com>
+
+       * configure.in (targargs): Strip out any supplied --build argument
+       before adding our own. Always add --build.
+
 Thu Jun 12 21:12:28 1997  Bob Manson  <manson@charmed.cygnus.com>
 
        * configure.in (targargs): Pass --build if we're doing
index 112aa2ea6588592d27c4f499e1240d51e5dc1537..95654f44792d80e38fbaecba3e9933cb7771e2be 100644 (file)
@@ -870,6 +870,7 @@ targargs=`echo "${arguments}" | \
        sed -e 's/--norecursion//' \
            -e 's/--cache[a-z-]*=[^     ]*//' \
            -e 's/--ho[a-z-]*=[^        ]*//' \
+           -e 's/--bu[a-z-]*=[^        ]*//' \
            -e 's/--ta[a-z-]*=[^        ]*//'`
 
 # Passing a --with-cross-host argument lets the target libraries know
@@ -878,7 +879,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} --build=${build_alias} ${targargs}"
+  targargs="--with-cross-host=${host_alias} ${targargs}"
 fi
 
 # Default to --enable-multilib.
@@ -886,7 +887,7 @@ if [ x${enable_multilib} = x ]; then
   targargs="--enable-multilib ${targargs}"
 fi
 
-targargs="--host=${target_alias} ${targargs}"
+targargs="--host=${target_alias} --build=${build_alias} ${targargs}"
 sed -e "s:^TARGET_CONFIGDIRS[  ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
     -e "s%^CONFIG_ARGUMENTS[   ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \
     -e "s%^TARGET_SUBDIR[      ]*=.*$%TARGET_SUBDIR = ${target_subdir}%" \
This page took 0.029314 seconds and 4 git commands to generate.