summaryrefslogtreecommitdiff
path: root/patches/gcc/4.4.5/340-ecjx-host-cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/4.4.5/340-ecjx-host-cc.patch')
-rw-r--r--patches/gcc/4.4.5/340-ecjx-host-cc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/gcc/4.4.5/340-ecjx-host-cc.patch b/patches/gcc/4.4.5/340-ecjx-host-cc.patch
new file mode 100644
index 0000000..c7f6ae7
--- /dev/null
+++ b/patches/gcc/4.4.5/340-ecjx-host-cc.patch
@@ -0,0 +1,13 @@
+diff -durN gcc-4.4.5.orig/libjava/Makefile.in gcc-4.4.5/libjava/Makefile.in
+--- gcc-4.4.5.orig/libjava/Makefile.in 2010-10-01 10:26:18.000000000 +0200
++++ gcc-4.4.5/libjava/Makefile.in 2010-10-09 23:12:22.000000000 +0200
+@@ -9180,6 +9180,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)