mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* 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:
@ -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.
|
||||
|
Reference in New Issue
Block a user