diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-03-31 05:44:00 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-03-31 05:44:00 +0000 |
commit | 05fb2d41d6698bbc7893c22c10c0e4ad139b8abb (patch) | |
tree | f5d6e8a9aed427471a24586d33e2b7f590de8147 /configure | |
parent | e8887bc925253187336a26dbaae1aa7aa441cfb8 (diff) | |
download | binutils-redhat-05fb2d41d6698bbc7893c22c10c0e4ad139b8abb.tar.gz |
Fix toplevel configure --enable-multilib handling.
/:
PR bootstrap/43328
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs. Accept explicitly passed
--enable_multilib.
* configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -7778,6 +7778,9 @@ do skip_next=$separate_arg continue ;; + --enable-multilib | --disable-multilib) + continue + ;; -*) # An option. Add it. case $ac_arg in @@ -7846,10 +7849,12 @@ if test x${is_cross_compiler} = xyes ; then target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}" fi -# Default to --enable-multilib. -if test x${enable_multilib} = x ; then +# Pass --enable-multilib to target dirs; default to --enable-multilib. +case $enable_multilib in +'' | yes) target_configargs="--enable-multilib ${target_configargs}" -fi + ;; +esac # Pass --with-newlib if appropriate. Note that target_configdirs has # changed from the earlier setting of with_newlib. |