浏览代码

Fixed grep syntax in Glibc

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8400 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Huntwork 18 年之前
父节点
当前提交
7a1151ced0
共有 3 个文件被更改,包括 11 次插入2 次删除
  1. 9 0
      chapter01/changelog.xml
  2. 1 1
      chapter05/glibc.xml
  3. 1 1
      chapter06/glibc.xml

+ 9 - 0
chapter01/changelog.xml

@@ -36,6 +36,15 @@
     </listitem>
     </listitem>
 -->
 -->
 
 
+     <listitem>
+      <para>2007-10-04</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jhuntwork] - Fixed grep syntax in Glibc.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
      <listitem>
      <listitem>
       <para>2007-09-25</para>
       <para>2007-09-25</para>
       <itemizedlist>
       <itemizedlist>

+ 1 - 1
chapter05/glibc.xml

@@ -57,7 +57,7 @@ cd ../glibc-build</userinput></screen>
     for CFLAGS, append the new flag to the existing contents of CFLAGS by
     for CFLAGS, append the new flag to the existing contents of CFLAGS by
     making use of the special file <filename>configparms</filename>:</para>
     making use of the special file <filename>configparms</filename>:</para>
 
 
-<screen><userinput remap="configure">uname -m | grep -q i?86 &amp;&amp;
+<screen><userinput remap="configure">uname -m | grep -q i[4-7]86 &amp;&amp;
 echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
 echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
 
 
     <para>Next, prepare Glibc for compilation:</para>
     <para>Next, prepare Glibc for compilation:</para>

+ 1 - 1
chapter06/glibc.xml

@@ -106,7 +106,7 @@ cd ../glibc-build</userinput></screen>
 
 
     <para>Again, add the needed compiler flag to CFLAGS for x86 machines:</para>
     <para>Again, add the needed compiler flag to CFLAGS for x86 machines:</para>
 
 
-<screen><userinput remap="configure">uname -m | grep -q i?86 &amp;&amp;
+<screen><userinput remap="configure">uname -m | grep -q i[4-7]86 &amp;&amp;
 echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
 echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
 
 
     <para>Prepare Glibc for compilation:</para>
     <para>Prepare Glibc for compilation:</para>