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.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>