bzip2 Makefile modification - LFS Hint
jan.listbox at belvento.org
Fri Sep 15 16:23:25 PDT 2000
Chapter 6. Installing basic system software
Since I'm supremely lazy and have installed bzip2 so many times here and
there, I changed the Makefile to my like to reduce # of keystrokes.
I added as attachment for those who are interested. You can also get it
I added comments so you can see what I did. You can now install bzip2 and
be on your way with the following instructions.
------ Begin ------
Open Makefile in editor to change CFLAGS if you want or pass CFLAGS to
make as below ("xxx" is "i686" for me).
root:bzip2-1.0.1# zcat ../bzip2-1.0.1.patch.gz | patch -Np1
root:bzip2-1.0.1# make CFLAGS='-O3 -mcpu=xxx -march=xxx' # your choice
root:bzip2-1.0.1# make install
root:bzip2-1.0.1# rm /usr/lib/libbz2.a # if necessary for you
------ End ------
jan at belvento.org
More information about the lfs-dev