tce-load -i compiletc automake libtool-dev intltool gtk-doc dbus-glib-dev perl5 gobject-introspection-dev vala-dev

wget https://telepathy.freedesktop.org/releases/telepathy-glib/telepathy-glib-0.24.1.tar.gz
wget http://www.linuxfromscratch.org/patches/blfs/svn/telepathy-glib-0.24.1-consolidated_fixes-1.patch

cd telepathy-glib-0.24.1

patch -Np1 -i ../telepathy-glib-0.24.1-consolidated_fixes-1.patch

autoreconf -fiv

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti"  ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-introspection=yes --enable-vala-bindings

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

make [3m 20.71s]
sudo make install
