From 5ed15d55bad9b10afcca2c7727ffc2954462861b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 3 Jul 2009 14:13:58 +0000 Subject: [PATCH] GCJ 4.3: Fix the Java patch. svn path=/nixpkgs/trunk/; revision=16164 --- .../compilers/gcc-4.3/java-jvgenmain-link.patch | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/gcc-4.3/java-jvgenmain-link.patch b/pkgs/development/compilers/gcc-4.3/java-jvgenmain-link.patch index 5e963894c34a..2612e8bfbbbc 100644 --- a/pkgs/development/compilers/gcc-4.3/java-jvgenmain-link.patch +++ b/pkgs/development/compilers/gcc-4.3/java-jvgenmain-link.patch @@ -2,13 +2,16 @@ The `jvgenmain' executable must be linked against `vec.o', among others, since it uses its vector API. --- gcc-4.3.3/gcc/java/Make-lang.in 2008-12-05 00:00:19.000000000 +0100 -+++ gcc-4.3.3/gcc/java/Make-lang.in 2009-07-03 15:22:29.000000000 +0200 -@@ -109,7 +109,7 @@ jcf-dump$(exeext): $(JCFDUMP_OBJS) $(LIB ++++ gcc-4.3.3/gcc/java/Make-lang.in 2009-07-03 16:11:41.000000000 +0200 +@@ -109,9 +109,9 @@ jcf-dump$(exeext): $(JCFDUMP_OBJS) $(LIB $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JCFDUMP_OBJS) \ $(CPPLIBS) $(ZLIB) $(LDEXP_LIB) $(LIBS) -jvgenmain$(exeext): $(JVGENMAIN_OBJS) $(LIBDEPS) +jvgenmain$(exeext): $(JVGENMAIN_OBJS) $(LIBDEPS) $(BUILD_RTL) rm -f $@ - $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JVGENMAIN_OBJS) $(LIBS) +- $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JVGENMAIN_OBJS) $(LIBS) ++ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JVGENMAIN_OBJS) $(BUILD_RTL) $(LIBS) + # + # Build hooks: