{{{ make prefix=/boot/common NO_R_TO_GCC_LINKER=YesPlease NO_C99_FORMAT=YesPlease NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease NO_MEMMEM=YesPlease NO_MKSTEMPS=YesPlease NO_MKDTEMP=YesPlease NO_IPV6=YesPlease NO_TCLTK=YesPlease CURLDIR=/boot/common PERL_PATH=/boot/common/bin/perl CFLAGS="-g -O2 -I/boot/common/include" LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" strip make install prefix=/boot/common NO_R_TO_GCC_LINKER=YesPlease NO_C99_FORMAT=YesPlease NO_ST_BLOCKS_IN_STRUCT_STAT=YesPlease NO_MEMMEM=YesPlease NO_MKSTEMPS=YesPlease NO_MKDTEMP=YesPlease NO_IPV6=YesPlease NO_TCLTK=YesPlease CURLDIR=/boot/common PERL_PATH=/boot/common/bin/perl CFLAGS="-g -O2 -I/boot/common/include" LDFLAGS="-L/boot/common/lib -lnetwork -lbsd -liconv" strip }}} May need to remove -lgen and -lresolv in Makefile and change -lsocket to -lnetwork. TODO: investigate further and create a clean patch.