aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/mawk-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/mawk-inst.xml')
-rw-r--r--chapter05/mawk-inst.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter05/mawk-inst.xml b/chapter05/mawk-inst.xml
index 67171df72..e42e77665 100644
--- a/chapter05/mawk-inst.xml
+++ b/chapter05/mawk-inst.xml
@@ -9,8 +9,7 @@ Install Mawk by running the following commands:
<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;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;Makefile | make -f - LDFLAGS=-static &amp;&amp; </userinput>
<userinput>make BINDIR=$LFS/usr/bin \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;MANDIR=$LFS/usr/share/man/man1 install</userinput>