crosstool-ng/packages/gdb/7.2a/0000-sim-ppc-lz-fix.patch
Alexey Neyman 98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:44:39 -08:00

20 lines
572 B
Diff

Fix for psim build failure due to -lz
See http://sourceware.org/bugzilla/show_bug.cgi?id=12202
---
sim/ppc/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/sim/ppc/Makefile.in
+++ b/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