patches/ltrace/0.5.1/110-alpha-support.patch
author David Holsgrove <david.holsgrove@xilinx.com>
Wed Oct 03 15:59:22 2012 +1000 (2012-10-03)
changeset 3071 5243d1b432b1
permissions -rw-r--r--
scripts/gdb: If not building expat for gdb, disable

--with-expat=yes is unconditionally passed to the gdb configure
stage, instead of respecting the ${do_expat} decision.

Disable if not needed. Prevents error building canadian cross;

configure: error: expat is missing or unusable

Where configure stage fails to find expat on the host compiler.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <4c4410a2a8aab24a29c5.1349244128@localhost.localdomain>
PatchWork-Id: 188711
yann@1262
     1
diff -durN ltrace-0.5.1.orig/Makefile.in ltrace-0.5.1/Makefile.in
yann@1262
     2
--- ltrace-0.5.1.orig/Makefile.in	2009-03-16 17:24:08.000000000 +0100
yann@1262
     3
+++ ltrace-0.5.1/Makefile.in	2009-03-16 17:43:09.000000000 +0100
yann@1262
     4
@@ -5,6 +5,7 @@
yann@1262
     5
 OS		:= @HOST_OS@
yann@1262
     6
 ARCH		:= $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/      \
yann@1262
     7
 						   -e s/sun4u/sparc64/  \
yann@1262
     8
+						   -e s/alpha.*/alpha/  \
yann@1262
     9
 						   -e s/arm.*/arm/      \
yann@1262
    10
 						   -e s/sa110/arm/      \
yann@1262
    11
 						   -e s/ppc64/ppc/      \