sed -e 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' -i ./Makefile-libbz2_so
sed -i "s|-O2|${CFLAGS}|g" Makefile
sed -i "s|-O2|${CFLAGS}|g" Makefile-libbz2_so

patch -Np1 < $SRC/bzip2-1.0.4-bzip2recover.patch

make -f Makefile-libbz2_so
make bzip2 bzip2recover
