Installation of Bzip2
Since the Bzip2 package has no configure script we can't prepare it
for compilation. Instead we just run the make
program and start compiling, with a few variables changed to suit our
environment:
make CC="gcc -static -s"
The meaning of the make option is:
CC="gcc -static -s": The Bzip2 package
does not honour the LDFLAGS variable, so instead we set
the CC variable which defines which compiler to use.
The -static option tells the compiler to link all
programs statically.
And finish off installing the package:
make PREFIX=$LFS/static install
The meaning of the make option is:
PREFIX=$LFS/static: Instead of
passing a --prefix=$LFS/static to a configure script,
we set the PREFIX variable to accomplish the same goal
(since there is no configure script present).