aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-15 20:17:02 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-15 20:17:02 +0000
commitd13c6db7278508398c3f1b92564e4f1afbecd3c1 (patch)
tree6dd3a7780c2fda3879896afda4d0171d0adeb622 /chapter06
parentbf2bd2518cfbcfaae5c662170abdf63974e5b03e (diff)
Clarify kernel configuration settings.
Fix gcc LTO symlink for i686 systems. Fix kbd-2.0.1.tar.gz md5sum. Fix procps-ng url. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10565 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index c1434e7e3..9ab97ea22 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -155,7 +155,13 @@ cd ../gcc-build</userinput></screen>
<screen><userinput remap="install">install -dm755 /usr/lib/bfd-plugins
pushd /usr/lib/bfd-plugins
-ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/&gcc-version;/liblto_plugin.so
+
+if [ $(uname -m) == "i686" ]; then
+ ln -sfv ../../libexec/gcc/i686-pc-linux-gnu/&gcc-version;/liblto_plugin.so
+else
+ ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/&gcc-version;/liblto_plugin.so
+fi
+
popd</userinput></screen>
<para>Now that our final toolchain is in place, it is important to again ensure