patches/ltrace/0.5.3/110-alpha-support.patch
author Bart vdr. Meulen <bartvdrmeulen@gmail.com>
Mon Jul 19 23:16:02 2010 +0200 (2010-07-19)
changeset 2031 3917f2dafed1
permissions -rw-r--r--
complibs: fix using static companion libraries

When building a cross-compiler for a target which uses a file extension for
binaries the symbolic link to cc is not created correctly because the lookup
of the gcc binary is done in a incorrect path

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
     1 diff -ru ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile ltrace-0.5.3/sysdeps/linux-gnu/Makefile
     2 --- ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile	2009-07-25 17:13:02.000000000 +0200
     3 +++ ltrace-0.5.3/sysdeps/linux-gnu/Makefile	2010-01-01 22:20:45.000000000 +0100
     4 @@ -2,6 +2,7 @@
     5  				-e s/i.86/i386/ \
     6  				-e s/sun4u/sparc64/ \
     7  				-e s/sparc64/sparc/ \
     8 +				-e s/alpha.*/alpha/ \
     9  				-e s/arm.*/arm/ \
    10  				-e s/sa110/arm/ \
    11  				-e s/ppc64/ppc/ \