mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
gcc: ecjx.cc -> ecjx.o should use host compiler, not cross compiler
This commit is contained in:
parent
7111e7fdf6
commit
036903d527
13
patches/gcc/4.3.4/400-ecjx-host-cc.patch
Normal file
13
patches/gcc/4.3.4/400-ecjx-host-cc.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -ur gcc-4.3.4-orig/libjava/Makefile.in gcc-4.3.4/libjava/Makefile.in
|
||||
--- gcc-4.3.4-orig/libjava/Makefile.in 2009-08-04 04:12:27.000000000 -0700
|
||||
+++ gcc-4.3.4/libjava/Makefile.in 2009-09-23 22:03:15.750951483 -0700
|
||||
@@ -8874,6 +8874,9 @@
|
||||
ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES)
|
||||
@rm -f ecjx$(EXEEXT)
|
||||
$(ecjx_LINK) $(ecjx_LDFLAGS) $(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_LDFLAGS) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS)
|
13
patches/gcc/4.4.1/340-ecjx-host-cc.patch
Normal file
13
patches/gcc/4.4.1/340-ecjx-host-cc.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -ur gcc-4.4.1-orig/libjava/Makefile.in gcc-4.4.1/libjava/Makefile.in
|
||||
--- gcc-4.4.1-orig/libjava/Makefile.in 2009-08-04 04:12:27.000000000 -0700
|
||||
+++ gcc-4.4.1/libjava/Makefile.in 2009-09-23 22:03:15.750951483 -0700
|
||||
@@ -8874,6 +8874,9 @@
|
||||
ecjx$(EXEEXT): $(ecjx_OBJECTS) $(ecjx_DEPENDENCIES)
|
||||
@rm -f ecjx$(EXEEXT)
|
||||
$(ecjx_LINK) $(ecjx_LDFLAGS) $(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_LDFLAGS) $(gappletviewer_OBJECTS) $(gappletviewer_LDADD) $(LIBS)
|
Loading…
Reference in New Issue
Block a user