aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2014-02-17 17:12:59 -0500
committerMike Frysinger <vapier@gentoo.org>2014-02-17 17:12:59 -0500
commit0d8a6ab7d39d28fb1557e2a62e9e4b336341ab34 (patch)
treedf86dfb571300a9acc098781176b13128aea3100 /sim
parentbc3c6b36422973aad17445ad5e436064f7337d47 (diff)
downloadfsf-binutils-gdb-0d8a6ab7d39d28fb1557e2a62e9e4b336341ab34.zip
fsf-binutils-gdb-0d8a6ab7d39d28fb1557e2a62e9e4b336341ab34.tar.gz
fsf-binutils-gdb-0d8a6ab7d39d28fb1557e2a62e9e4b336341ab34.tar.bz2
sim: ppc: drop $(LIBS) from psim dependency
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
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/ChangeLog8
-rw-r--r--sim/ppc/Makefile.in2
2 files changed, 7 insertions, 3 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 2946fca..749ece7 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
+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.
@@ -35,8 +40,7 @@
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>
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index b811f6f..740bdb0 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -552,7 +552,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