patches/ltrace/0.5.3/180-libltrace-genindex.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 15:48:27 2011 +0200 (2011-07-17)
changeset 2886 f1ad0445325c
permissions -rw-r--r--
cc/gcc: simplify calls to core backend

The core backend is going to have more parameters in the upcoming
patches, so it will be a bit complex to handle.

Introduce an array-variable that is filled by the different code-paths
with the required values.

This makes the code easier to read and maintain.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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