This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: zlib multilib on host?
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: zlib multilib on host?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 06 Sep 2000 15:26:17 -0300
- Cc: Anthony Green <green at cygnus dot com>, gcc at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200009061757.NAA25628@mal-ach.watson.ibm.com>
On Sep 6, 2000, David Edelsohn <dje@watson.ibm.com> wrote:
> By default, zlib configures as multilib. Why is this correct for
> the gcc bulid and host?
It's certainly unnecessary, but nobody had cared about fixing it so
far. Please try this patch:
Index: zlib/ChangeLog.gcj
from Alexandre Oliva <aoliva@redhat.com>
* configure.in (multilib): Enable by default only for target.
Index: zlib/configure.in
===================================================================
RCS file: /cvs/gcc/egcs/zlib/configure.in,v
retrieving revision 1.6
diff -u -p -r1.6 configure.in
--- zlib/configure.in 2000/09/03 19:54:20 1.6
+++ zlib/configure.in 2000/09/06 18:25:55
@@ -22,7 +22,7 @@ AC_ARG_ENABLE(multilib,
yes) multilib=yes ;;
no) multilib=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
- esac], [multilib=yes])dnl
+ esac], [test -z "$with_target_subdir" && multilib=no || multilib=yes])dnl
dnl We may get other options which we dont document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me