From 0732c2ceeffb6b6fd007981b0e5942a188373a1d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 24 Oct 2008 07:13:52 +0000 Subject: Fix libelf cross-building. /trunk/patches/libelf/0.8.10/100-fix-64-bit-detection.patch | 24 24 0 0 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/patches/libelf/0.8.10/100-fix-64-bit-detection.patch b/patches/libelf/0.8.10/100-fix-64-bit-detection.patch new file mode 100644 index 0000000..7995443 --- /dev/null +++ b/patches/libelf/0.8.10/100-fix-64-bit-detection.patch @@ -0,0 +1,24 @@ +diff -dur libelf-0.8.10.orig/configure libelf-0.8.10/configure +--- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200 ++++ libelf-0.8.10/configure 2008-10-23 22:43:19.000000000 +0200 +@@ -1595,7 +1595,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + if test "$cross_compiling" = yes; then +- ac_cv_sizeof_long_long=0 ++ ac_cv_sizeof_long_long=8 + else + cat > conftest.$ac_ext <