aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2017-05-25 21:42:42 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2017-05-25 21:42:42 +0000
commit9e326ab2d78d22161373ecbeb87b6256d3442e18 (patch)
treee1d4ad0640cb57bd40d0017ea799fbbcdf7b96f3 /chapter06
parent00abb8f1501e00263aba78e959e2a84471c15aea (diff)
Fix the build of gcc/glibc for i686 systems
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11254 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/glibc.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index cdcdf2e47..5ef90aaeb 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -67,7 +67,7 @@
required for the dynamic loader to function correctly:</para>
<screen><userinput remap="pre">case $(uname -m) in
- x86) GCC_INCDIR=/usr/lib/gcc/x86-pc-linux-gnu/&gcc-version;/include
+ i?86) GCC_INCDIR=/usr/lib/gcc/$(uname -m)-pc-linux-gnu/&gcc-version;/include
ln -s ld-linux.so.2 /lib/ld-lsb.so.3
;;
x86_64) GCC_INCDIR=/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include