aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/mawk-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-03-10 04:40:58 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-03-10 04:40:58 +0000
commit085e37a7e505c82b9fb5ebf6ea549a5d790c2364 (patch)
treeeb20fbf3c940d5f06aca71e3a20f1c8d5fa85960 /chapter05/mawk-inst.xml
parent29004d33e6fcae522aad57dcbb870e49ec23ca67 (diff)
'Beautified' the static link process
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@283 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/mawk-inst.xml')
-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>