diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-03-10 04:40:58 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-03-10 04:40:58 +0000 |
commit | 085e37a7e505c82b9fb5ebf6ea549a5d790c2364 (patch) | |
tree | eb20fbf3c940d5f06aca71e3a20f1c8d5fa85960 /chapter05/mawk-inst.xml | |
parent | 29004d33e6fcae522aad57dcbb870e49ec23ca67 (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.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> |