aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-10-05 19:20:00 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-10-05 19:20:00 +0000
commit88fc2daace07d1fdd74c17c7b7c518913a6e1ae4 (patch)
tree8af682470ac2b3a8aa762167a090990262d7d442 /chapter06
parent61d8b9afcaca922bb8f4900a2c22d418651b51d9 (diff)
Add a small change from upstream to gmp
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9612 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gmp.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml
index 27c413df9..7bad38fa3 100644
--- a/chapter06/gmp.xml
+++ b/chapter06/gmp.xml
@@ -50,6 +50,11 @@
<screen role="nodump"><userinput><parameter>ABI=32</parameter> ./configure ...</userinput></screen></para>
</note>
+ <para>First, fix a minor error noted on the upstream web page:</para>
+
+<screen><userinput remap="pre"> sed -i 's/np + dn, qn/&amp; - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen>
+
+
<para>Prepare GMP for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>