patches/ltrace/0.5.3/110-alpha-support.patch
author Michael Hope <michael.hope@linaro.org>
Wed Oct 05 14:15:45 2011 +1300 (2011-10-05)
changeset 2697 9cd87d279a99
permissions -rw-r--r--
Pass CXXFLAGS to binutils/gold.

The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as
CXXFLAGS to configure so that any host specific flags are passed
through.

It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC
target rules already do the same.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
     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/ \