This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch]: Fix multilib/non-multilib build for 4.6 for *-w64-mingw32
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Sat, 1 May 2010 15:57:40 +0200
- Subject: Re: [patch]: Fix multilib/non-multilib build for 4.6 for *-w64-mingw32
- References: <t2n90baa01f1005010557r8f632201x82ca8109fa7f9a30@mail.gmail.com>
Hello Jakub,
As I found by svn blame that you wrote those lines some time ago.
Problem is here that --disable-multilib is disregarded in Makefile.in
file in gcc/.
It checks for multilib configuration as logic
s-mlib: $(srcdir)/genmultilib Makefile
if test @enable_multilib@ = yes \
|| test -n "$(MULTILIB_OSDIRNAMES)"; then \
which means that a target supporting MULTILIB_OSDIRNAME always get
multilib configuration, which seems for me wrong.
Shouldn't be the logic here
s-mlib: $(srcdir)/genmultilib Makefile
if test @enable_multilib@ = yes \
&& test -n "$(MULTILIB_OSDIRNAMES)"; then \
instead?
Cheers,
Kai
PS: Prior patch drawn back.
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination