tce-load -i compiletc bzip2-dev openssl-dev gpm

wget http://links.twibright.com/download/links-2.29.tar.bz2

cd links-2.29

CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [0m 30.25s]
sudo make install

---------------------------------------------------------
Configuration results:

Event handler:          NO
IPv6:                   YES
Supported compression:  ZLIB BZIP2
SSL support:            OPENSSL
UTF-8 terminal:         YES
GPM support:            YES
Graphics enabled:       NO
---------------------------------------------------------