Browse Source

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 years ago
parent
commit
7a1151ced0
3 changed files with 11 additions and 2 deletions
  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>
+      <para>2007-10-04</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jhuntwork] - Fixed grep syntax in Glibc.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
      <listitem>
       <para>2007-09-25</para>
       <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
     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>
 
     <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>
 
-<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>
 
     <para>Prepare Glibc for compilation:</para>