patches/binutils/2.20/230-libiberty-pic.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:26:02 2011 +0200 (2011-08-22)
changeset 2630 f86af11138ea
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
debug/ltrace: Fix HOST_OS and ar

HOST_OS really is the target OS. Allow setting it for configure
via an environment variable.
libltrace.a should have an index:
Allow ar to be set as an environment variable, and generate
an index in this lib.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
     1 --- binutils/libiberty/Makefile.in.mps	2004-05-13 15:53:17.000000000 +0200
     2 +++ binutils/libiberty/Makefile.in	2004-05-13 15:52:53.000000000 +0200
     3 @@ -224,6 +224,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA
     4  	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
     5  	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
     6  	  $(RANLIB) $(TARGETLIB); \
     7 +	  cp $(TARGETLIB) ../ ; \
     8  	  cd ..; \
     9  	else true; fi
    10