aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-16 19:10:40 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-16 19:10:40 +0000
commitf63813c376016d4f85a6b4496746518c4086c5ab (patch)
tree27cbb16c18b1a355753b1a37e32ee40e2ba8160f /chapter05
parent8df8fd92949df8a6e83fae9ec355874fabe51290 (diff)
mawk sed changed to make flag
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@981 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/mawk-inst.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/chapter05/mawk-inst.xml b/chapter05/mawk-inst.xml
index a49156287..cd872df6c 100644
--- a/chapter05/mawk-inst.xml
+++ b/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>