tce-load -i intltool telepathy-glib-dev sqlite3-dev libxslt-dev gobject-introspection-dev telepathy-glib-gir

cd telepathy-logger-0.8.2

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --libexecdir=/usr/local/lib/telepathy-logger

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

make
sudo make install

Configure summary:

        Compiler....................:  gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe
        Compiler Flags..............:  -g -O2  -Wall -Wextra -Wformat-security -Winit-self -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wno-missing-field-initializers -Wno-unused-parameter -D_POSIX_SOURCE -std=c99
        Prefix......................:  /usr/local
        Coding style checks.........:  yes
        Bugreporting URL............:  https://bugs.freedesktop.org/buglist.cgi?product=Telepathy&component=logger
        Public extensions library...:  no
        Introspection support.......:  yes