patches/ltrace/0.4/120-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>
     1 diff -durN ltrace-0.4.orig/Makefile.in ltrace-0.4/Makefile.in
     2 --- ltrace-0.4.orig/Makefile.in	2008-10-26 15:34:21.000000000 +0100
     3 +++ ltrace-0.4/Makefile.in	2008-10-26 15:37:40.000000000 +0100
     4 @@ -5,6 +5,7 @@
     5  OS		:= @HOST_OS@
     6  ARCH		:= $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/      \
     7  						   -e s/sun4u/sparc64/  \
     8 +						   -e s/alpha.*/alpha/  \
     9  						   -e s/arm.*/arm/      \
    10  						   -e s/sa110/arm/      \
    11  						   -e s/ppc64/ppc/      \