This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make madness on irix6.5
- To: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Subject: Re: Make madness on irix6.5
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 09 Nov 2000 02:49:46 -0200
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <A9E96A79C068D211A6A90000C07BDF0D88F374@crtsmail.corp.riotinto.org>
On Nov 9, 2000, "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> wrote:
> Current cvs seems to go into an infinite recursive make on irix6.5. (Well
> it got to a depth of 209 before I killed it) The problem seems to be due to
> multilibs as it keeps adding "-mabi=64" to LIBGCC2_CFLAGS.
Oops. That's my fault (even though I'd much rather blame whoever
decided to create a multilib dirname containing `=' :-). Does this
fix the problem?
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
interpreting $out as a macro assignment.
Index: gcc/mklibgcc.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/mklibgcc.in,v
retrieving revision 1.22
diff -u -p -r1.22 mklibgcc.in
--- gcc/mklibgcc.in 2000/11/08 03:51:34 1.22
+++ gcc/mklibgcc.in 2000/11/09 04:49:30
@@ -363,6 +363,8 @@ for f in $EXTRA_MULTILIB_PARTS; do
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
case $dir in
.) out=$f ; t= ;;
+ # Prevent `make' from interpreting $out as a macro assignment
+ *=*) out="./$dir/$f" ; t=./$dir/ ;;
*) out="$dir/$f" ; t=$dir/ ;;
esac
--
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