This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
fix to build sim/ppc
- From: Masaki Muranaka <monaka at monami-software dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 29 Jan 2010 17:36:14 +0900
- Subject: fix to build sim/ppc
Hello mainainers,
The patch is simple and tiny.
We should not add LIBS on the dependency because it's possible LIBS is set to '-lz'.
Thanks,
sim/ppc/ChangeLog:
2010-01-29 Masaki Muranaka <monaka@monami-software.com>
* Makefile.in (psim): Remove $(LIBS) from its dependency rule.
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 71c65cf..968620f 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -551,7 +551,7 @@ PACKAGE_SRC = @sim_pk_src@
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