Fix libgloss being built for disabled multilibs
Target libraries are considered to be built for GCC's "host", not GCC's "target". The "host" variable must be set by configure scripts using "config-ml.in" to determine multilib support, otherwise disabled multilibs (specified as a configure argument with --disable-<multilib>) will still be built for the subdirectories those configure scripts reside in.
This commit is contained in:
parent
2bec29526b
commit
9fe26418a8
|
@ -3883,6 +3883,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|||
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
||||
srcdir=${srcdir}
|
||||
target=${target}
|
||||
host=${host}
|
||||
with_multisubdir=${with_multisubdir}
|
||||
ac_configure_args="--enable-multilib ${ac_configure_args}"
|
||||
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
|
|
|
@ -229,6 +229,7 @@ AC_CONFIG_FILES([Makefile],
|
|||
fi],
|
||||
srcdir=${srcdir}
|
||||
target=${target}
|
||||
host=${host}
|
||||
with_multisubdir=${with_multisubdir}
|
||||
ac_configure_args="--enable-multilib ${ac_configure_args}"
|
||||
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
|
|
Loading…
Reference in New Issue