diff options
Diffstat (limited to 'chapter05/gawk-inst.xml')
-rw-r--r-- | chapter05/gawk-inst.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml index 0c216232f..9bea62ee3 100644 --- a/chapter05/gawk-inst.xml +++ b/chapter05/gawk-inst.xml @@ -13,7 +13,8 @@ sed -e '/^datadir/s/awk/gawk/' \ -e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in && cd .. && export CPPFLAGS=-Dre_max_failures=re_max_failures2 && -./configure --prefix=$LFS/usr --disable-nls && +./configure --prefix=$LFS/usr --disable-nls \ + --libexecdir=$LFS/usr/bin && unset CPPFLAGS && make LDFLAGS=-static && make install</userinput></screen></para> @@ -26,7 +27,8 @@ cp Makefile.in Makefile.in.backup && sed -e '/^datadir/s/awk/gawk/' \ -e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in && cd .. && -./configure --prefix=$LFS/usr --disable-nls && +./configure --prefix=$LFS/usr --disable-nls \ + --libexecdir=$LFS/usr/bin && make LDFLAGS=-static && make install</userinput></screen></para> |