aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1.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-pass1.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-pass1.xml')
-rw-r--r--chapter05/gcc-pass1.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index eeeea3224..ba92ff94e 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -78,8 +78,8 @@ cd ../gcc-build</userinput></screen>
--disable-libgomp --disable-libquadmath \
--disable-target-libiberty --disable-target-zlib \
--enable-languages=c --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 configure options:</title>