This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] complibs/ppl: allow ppl-0.10.2 to configure/build with gmp >=5.0.x


# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1287477105 25200
# Node ID ed117b2b92f46d20ea366c828e567e9ecba4186c
# Parent  872ab5091cd4d76fcce0c2aa4b475623a8f43cca
complibs/ppl: allow ppl-0.10.2 to configure/build with gmp >=5.0.x

diff -r 872ab5091cd4 -r ed117b2b92f4 scripts/build/companion_libs/ppl.sh
--- a/scripts/build/companion_libs/ppl.sh	Mon Oct 18 23:32:02 2010 -0700
+++ b/scripts/build/companion_libs/ppl.sh	Tue Oct 19 01:31:45 2010 -0700
@@ -32,6 +32,13 @@
     CT_DoStep INFO "Installing PPL"
 
     CT_DoLog EXTRA "Configuring PPL"
+
+    # The following fixes an issue when detecting newer (>=5.x.x) versions of GMP.
+    # http://cross-lfs.org/view/svn/x86/cross-tools/ppl.html
+    if [ "${CT_PPL_VERSION}" = "0.10.2" ]; then
+        sed -i -e "s/__GMP_BITS_PER_MP_LIMB/GMP_LIMB_BITS/g" \
+            "${CT_SRC_DIR}/ppl-${CT_PPL_VERSION}/configure"
+    fi
 
     if [ "${CT_COMPLIBS_SHARED}" = "y" ]; then
         ppl_opts+=( --enable-shared --disable-static )

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]