debug/gdb: fix for psim build failure due to -lz in gdb-7.2. 1.9
authorHorst Kronstorfer <horst.kronstorfer@aon.at>
Mon Jan 03 19:07:34 2011 +0100 (2011-01-03)
branch1.9
changeset 225578fe1a2a2bac
parent 2254 361e852ef8c1
child 2256 004b41d847f8
debug/gdb: fix for psim build failure due to -lz in gdb-7.2.

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 78286fe70b62cee395bc603a5e44ef136c4531e3)
patches/gdb/7.2/100-sim-ppc-lz-fix.patch
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gdb/7.2/100-sim-ppc-lz-fix.patch	Mon Jan 03 19:07:34 2011 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +Fix for psim build failure due to -lz
     1.5 +
     1.6 +See http://sourceware.org/bugzilla/show_bug.cgi?id=12202
     1.7 +
     1.8 +--- gdb-7.2.orig/sim/ppc/Makefile.in
     1.9 ++++ gdb-7.2/sim/ppc/Makefile.in
    1.10 +@@ -551,7 +551,7 @@
    1.11 + PACKAGE_OBJ = @sim_pk_obj@
    1.12 +
    1.13 +
    1.14 +-psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBS) $(LIBINTL_DEP)
    1.15 ++psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP)
    1.16 + 	$(CC) $(CFLAGS) $(SIM_CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS)
    1.17 +
    1.18 + run: psim