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