Browse Source

mawk sed changed to make flag

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@981 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 years ago
parent
commit
f63813c376
3 changed files with 5 additions and 7 deletions
  1. 2 2
      chapter01/changelog.xml
  2. 1 3
      chapter05/mawk-inst.xml
  3. 2 2
      index.xml

+ 2 - 2
chapter01/changelog.xml

@@ -33,8 +33,8 @@ bug.</para></listitem>
 <listitem><para>Chapter 6: ncurses patch totally
 removed.</para></listitem>
 
-<listitem><para>Chapter 5: sed command for bzip2 static compile has been
-replaced with a simpler flag to gcc.</para></listitem>
+<listitem><para>Chapter 5: sed commands for bzip2 and mawk static
+compiles have been replaced with a simpler flag to gcc.</para></listitem>
 
 <listitem><para>Chapter 5: A sed for fileutils-4.1 static has been added to 
 avoid Segmentation Fault problems on glibc-2.2.3 systems.</para></listitem>

+ 1 - 3
chapter05/mawk-inst.xml

@@ -4,9 +4,7 @@
 <para>Install Mawk by running the following commands:</para>
 
 <para><screen><userinput>./configure &amp;&amp;</userinput>
-<userinput>sed \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;Makefile | make -f - LDFLAGS=-static &amp;&amp; </userinput>
+<userinput>make CC="gcc -static" &amp;&amp;</userinput>
 <userinput>make BINDIR=$LFS/usr/bin \</userinput>
 <userinput>&nbsp;&nbsp;&nbsp;MANDIR=$LFS/usr/share/man/man1 install</userinput></screen></para>
 

+ 2 - 2
index.xml

@@ -4,8 +4,8 @@
 
 <!ENTITY book SYSTEM "book/book.xml">
 
-<!ENTITY version "20010815">
-<!ENTITY releasedate "August 15th, 2001">
+<!ENTITY version "20010816">
+<!ENTITY releasedate "August 16th, 2001">
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">