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