aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/mawk-inst.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter05/mawk-inst.xml b/chapter05/mawk-inst.xml
index 64347744e..afc15840c 100644
--- a/chapter05/mawk-inst.xml
+++ b/chapter05/mawk-inst.xml
@@ -8,7 +8,11 @@ Install Mawk by running the following commands:
<blockquote><literallayout>
<userinput>./configure &amp;&amp;</userinput>
- <userinput>make CFLAGS=-static &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 BINDIR=$LFS/usr/bin \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;MANDIR=$LFS/usr/share/man/man1
install</userinput>