patches/ltrace/0.5.3/180-libltrace-genindex.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:26:02 2011 +0200 (2011-08-22)
changeset 2630 f86af11138ea
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 diff -ru ltrace-0.5.3.org/Makefile.in ltrace-0.5.3/Makefile.in
     2 --- ltrace-0.5.3.org/Makefile.in	2011-08-21 18:55:15.000000000 +0200
     3 +++ ltrace-0.5.3/Makefile.in	2011-08-21 18:40:53.000000000 +0200
     4 @@ -39,7 +40,7 @@
     5  		$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
     6  
     7  libltrace.a: 	sysdeps/sysdep.o $(OBJ)
     8 -		$(AR) rcv $@ $^
     9 +		$(AR) rscv $@ $^
    10  
    11  $(OBJ):		sysdeps/sysdep.o
    12