sim: ppc: drop $(LIBS) from psim dependency
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 17 Feb 2014 22:12:59 +0000 (17:12 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 17 Feb 2014 22:12:59 +0000 (17:12 -0500)
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

sim/ppc/ChangeLog
sim/ppc/Makefile.in

index 2946fcaacba78d7b0c928c5a76066721c91657ad..749ece737244e847206a6947602784f78cdd23c7 100644 (file)
@@ -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>
 
index b811f6fccf875a11866da4beffdeb4df6ca9dc15..740bdb0f4da86529dfed510a9419434f25d49d70 100644 (file)
@@ -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
This page took 0.0337 seconds and 4 git commands to generate.