浏览代码

Fixed the x86 tests

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8361 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Huntwork 18 年之前
父节点
当前提交
05089ffccf
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      chapter05/gcc-pass1.xml
  2. 1 1
      chapter05/gcc-pass2.xml
  3. 1 1
      chapter06/gcc.xml

+ 1 - 1
chapter05/gcc-pass1.xml

@@ -48,7 +48,7 @@ cd ../gcc-build</userinput></screen>
     Also, the --with-arch flag is only necessary for x86 machines.</para>
 
 <screen><userinput>case $(uname -m) in
-  x86) WITHARCH="--with-arch=i486" ;;
+  i?86) WITHARCH="--with-arch=i486" ;;
   x86_64) M64="-m64" ;;
 esac</userinput></screen>
 

+ 1 - 1
chapter05/gcc-pass2.xml

@@ -137,7 +137,7 @@ cd ../gcc-build</userinput></screen>
     <para>The --with-arch flag is only necessary for x86 machines.</para>
 
 <screen><userinput>case $(uname -m) in
-  x86) WITHARCH="--with-arch=i486" ;;
+  i?86) WITHARCH="--with-arch=i486" ;;
 esac</userinput></screen>
 
     <para>Now prepare GCC for compilation:</para>

+ 1 - 1
chapter06/gcc.xml

@@ -75,7 +75,7 @@ cd ../gcc-build</userinput></screen>
     <para>The --with-arch flag is only necessary for x86 machines.</para>
 
 <screen><userinput>case $(uname -m) in
-  x86) WITHARCH="--with-arch=i486" ;;
+  i?86) WITHARCH="--with-arch=i486" ;;
 esac</userinput></screen>
 
     <para>Prepare GCC for compilation:</para>