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>
titus@2630
     1
diff -ru ltrace-0.5.3.org/Makefile.in ltrace-0.5.3/Makefile.in
titus@2630
     2
--- ltrace-0.5.3.org/Makefile.in	2011-08-21 18:55:15.000000000 +0200
titus@2630
     3
+++ ltrace-0.5.3/Makefile.in	2011-08-21 18:40:53.000000000 +0200
titus@2630
     4
@@ -39,7 +40,7 @@
titus@2630
     5
 		$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
titus@2630
     6
 
titus@2630
     7
 libltrace.a: 	sysdeps/sysdep.o $(OBJ)
titus@2630
     8
-		$(AR) rcv $@ $^
titus@2630
     9
+		$(AR) rscv $@ $^
titus@2630
    10
 
titus@2630
    11
 $(OBJ):		sysdeps/sysdep.o
titus@2630
    12