aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-10-28 19:42:21 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-10-28 19:42:21 +0000
commit2ce327ccdee862097209f6bca5f39a7a7b012022 (patch)
tree44e93d4e62c2d04ec2f24909fa06cf60f5987414 /chapter05/gcc-pass2.xml
parent9fb74db24768726141645884a2dd56ccaf82bdb2 (diff)
Remove hardcoded paths from GCC's MPFR-related configure switches. Fixes #2948.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9645 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r--chapter05/gcc-pass2.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index e28f05af3..b29afb6ae 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -158,8 +158,8 @@ cd ../gcc-build</userinput></screen>
--disable-libstdcxx-pch --disable-multilib \
--disable-bootstrap --disable-libgomp \
--without-ppl --without-cloog \
- --with-mpfr-include=$LFS/sources/gcc-&gcc-version;/mpfr/src \
- --with-mpfr-lib=$LFS/sources/gcc-build/mpfr/src/.libs</userinput></screen>
+ --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
+ --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>