When cross-compiling GDB for PPC, there's a prerequisite "-lz" for psim
that results in a build failure. With such prerequisite, GNU Make will
try to search the library from build machine's /usr/lib which is wrong.
On 64-bit Linux build machines the compilation will fail because of this.
URL: https://sourceware.org/bugzilla/show_bug.cgi?id=12202
+2014-02-17 Aaro Koskinen <aaro.koskinen@iki.fi>
+
+ PR gdb/12202
+ * Makefile.in (psim): Delete $(LIBS) from dependency.
+
2013-10-15 Hans-Peter Nilsson <hp@axis.com>
* Makefile.in (srcsim): New variable.
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
-
- Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
+ * Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
2012-03-14 Michael Haubenwallner <michael.haubenwallner@salomon.at>
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