patches/gcc/4.4.4/340-ecjx-host-cc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 31 23:24:40 2010 +0200 (2010-08-31)
changeset 2107 f5ab0a80e466
child 2148 ada9128c98b8
permissions -rw-r--r--
binutils/binutils: remove faulty patch

The added code should be conditinal to the target system
being !MIPS, but is based on the host system being !MIPS.

This is plain wrong, and had not been noticed until now
as I never used those binutils versions on MIPS.

See:
http://sourceware.org/ml/crossgcc/2010-08/msg00192.html

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 diff -ur gcc-4.4.1-orig/libjava/Makefile.in gcc-4.4.1/libjava/Makefile.in
     2 
     3 diff -durN gcc-4.4.4.orig/libjava/Makefile.in gcc-4.4.4/libjava/Makefile.in
     4 --- gcc-4.4.4.orig/libjava/Makefile.in	2010-04-29 10:26:54.000000000 +0200
     5 +++ gcc-4.4.4/libjava/Makefile.in	2010-05-16 19:37:38.000000000 +0200
     6 @@ -9270,6 +9270,9 @@
     7  ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES) 
     8  	@rm -f ecjx$(EXEEXT)
     9  	$(ecjx_LINK) $(ecjx_LDFLAGS) $(ecjx_OBJECTS) $(ecjx_LDADD) $(LIBS)
    10 +ecjx.$(OBJEXT): $(ecjx_SOURCES)
    11 +	@rm -f ecjx.$(OBJEXT)
    12 +	$(CC_FOR_BUILD) $(BUILD_CFLAGS) -c -o $@ $<
    13  gappletviewer$(EXEEXT): $(gappletviewer_OBJECTS) $(gappletviewer_DEPENDENCIES) 
    14  	@rm -f gappletviewer$(EXEEXT)
    15  	$(gappletviewer_LINK) $(gappletviewer_LDFLAGS) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS)