patches/ltrace/0.5.3/110-alpha-support.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>
jocke@1685
     1
diff -ru ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile ltrace-0.5.3/sysdeps/linux-gnu/Makefile
jocke@1685
     2
--- ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile	2009-07-25 17:13:02.000000000 +0200
jocke@1685
     3
+++ ltrace-0.5.3/sysdeps/linux-gnu/Makefile	2010-01-01 22:20:45.000000000 +0100
jocke@1685
     4
@@ -2,6 +2,7 @@
jocke@1685
     5
 				-e s/i.86/i386/ \
jocke@1685
     6
 				-e s/sun4u/sparc64/ \
jocke@1685
     7
 				-e s/sparc64/sparc/ \
jocke@1685
     8
+				-e s/alpha.*/alpha/ \
jocke@1685
     9
 				-e s/arm.*/arm/ \
jocke@1685
    10
 				-e s/sa110/arm/ \
jocke@1685
    11
 				-e s/ppc64/ppc/ \