mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
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
fe239aef1b
commit
fa14f445ba
1
libgloss/configure
vendored
1
libgloss/configure
vendored
@ -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…
x
Reference in New Issue
Block a user