mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-28 08:38:53 +00:00
279ab9f481
When building ecjx, the compiler for the build system must be used, not for the compiler for the host system. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
14 lines
669 B
Diff
14 lines
669 B
Diff
diff -durN gcc-4.5.2.orig/libjava/Makefile.in gcc-4.5.2/libjava/Makefile.in
|
|
--- gcc-4.5.2.orig/libjava/Makefile.in 2010-12-16 13:49:03.000000000 +0100
|
|
+++ gcc-4.5.2/libjava/Makefile.in 2010-12-29 23:02:41.000000000 +0100
|
|
@@ -9463,6 +9463,9 @@
|
|
ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES)
|
|
@rm -f ecjx$(EXEEXT)
|
|
$(ecjx_LINK) $(ecjx_OBJECTS) $(ecjx_LDADD) $(LIBS)
|
|
+ecjx.$(OBJEXT): $(ecjx_SOURCES)
|
|
+ @rm -f ecjx.$(OBJEXT)
|
|
+ $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c -o $@ $<
|
|
gappletviewer$(EXEEXT): $(gappletviewer_OBJECTS) $(gappletviewer_DEPENDENCIES)
|
|
@rm -f gappletviewer$(EXEEXT)
|
|
$(gappletviewer_LINK) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS)
|