tce-load -i compiletc git autoconf libtool-dev intltool openssl-dev Xorg-7.7-3d-dev libvncserver-dev cairo-dev avahi-dev git clone https://github.com/LibVNC/x11vnc cd x11vnc ./autogen.sh CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2/ /g' {} \; make sudo make install