tce-load -i openssl-1.0.0-dev libusbmuxd-dev automake libtool-dev

cd libimobiledevice (git 14/01/26)

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" ./autogen.sh --prefix=/usr/local --disable-static --without-cython

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

make
sudo make install

Configuration for libimobiledevice 1.1.6:
-------------------------------------------

  Install prefix: .........: /usr/local
  Debug code ..............: no
  Dev tools ...............: no
  Python bindings .........: no
  SSL support backend .....: OpenSSL

  Now type 'make' to build libimobiledevice 1.1.6,
