aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-06-13 04:15:12 +0000
committerBob Manson <manson@cygnus>1997-06-13 04:15:12 +0000
commitadc03ece6288d971ea4eaab90d00abef5ef49cb7 (patch)
tree2d9edf6f6eeb77ecf363fd2a9d7887aa0933c01b /configure.in
parent59df24f7c241f534d5f55ac537e5af6c49ee9bc4 (diff)
downloadgdb-adc03ece6288d971ea4eaab90d00abef5ef49cb7.zip
gdb-adc03ece6288d971ea4eaab90d00abef5ef49cb7.tar.gz
gdb-adc03ece6288d971ea4eaab90d00abef5ef49cb7.tar.bz2
* 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.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ac40b2b..112aa2e 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.