diff options
-rw-r--r-- | chapter05/mawk-inst.xml | 6 |
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 &&</userinput> - <userinput>make CFLAGS=-static &&</userinput> + <userinput>sed \</userinput> + <userinput> s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) +\$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput> + <userinput> Makefile | make + -f - LDFLAGS=-static &&</userinput> <userinput>make BINDIR=$LFS/usr/bin \</userinput> <userinput> MANDIR=$LFS/usr/share/man/man1 install</userinput> |