crosstool-ng/patches/gdb/7.2/100-sim-ppc-lz-fix.patch
Yann E. MORIN" e0c067dc3e debug/gdb: fix for psim build failure due to -lz in gdb-7.2.
Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-03 19:07:34 +01:00

16 lines
503 B
Diff

Fix for psim build failure due to -lz
See http://sourceware.org/bugzilla/show_bug.cgi?id=12202
--- gdb-7.2.orig/sim/ppc/Makefile.in
+++ gdb-7.2/sim/ppc/Makefile.in
@@ -551,7 +551,7 @@
PACKAGE_OBJ = @sim_pk_obj@
-psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBS) $(LIBINTL_DEP)
+psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP)
$(CC) $(CFLAGS) $(SIM_CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS)
run: psim