crosstool-ng/patches/gdb/7.2a/100-sim-ppc-lz-fix.patch
Yann E. MORIN" 76b124a4d6 debug/gdb: rename patch directories
Missed renaming the patch directories after the version renames... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11 18:28:45 +02: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