Installation of Gawk
Warning: do NOT run make uninstall on this
package if you apply the sed fix to change the
libexec directory definition. The
uninstall rule in the Makefile
file runs a command like rm -rf
<libexecdir>/* Since we change the libexec directory to /usr/bin it'll run rm -rf
/usr/bin/*
Install Gawk by running the following commands:
CPPFLAGS=-Dre_max_failures=re_max_failures2 \
./configure --prefix=$LFS/static --disable-nls \
--libexecdir=$LFS/static/bin &&
make LDFLAGS=-static &&
make install