tce-load -i gobject-introspection-dev libsoup-gnome-dev libsoup-gnome-gir perl5

cd rest-0.8.0

CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti"  ./configure --prefix=/usr/local --disable-static --with-ca-certificates=/usr/local/etc/ssl/certs/ca-certificates.crt

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

make
sudo make install


                 LibRest 0.8.0
                 ================

                   prefix:   /usr/local

            Documentation:   no
       Introspection data:   yes