tce-load -i expat2-dev openssl-1.0.0-dev

cd neon-0.30.0

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 --enable-shared --with-ssl

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

make
sudo make install

  Install prefix:  /usr/local
  Compiler:        gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe
  XML Parser:      expat
  SSL library:     SSL support enabled, using OpenSSL (0.9.7 or later)
  zlib support:    zlib support enabled, using -lz
  Build libraries: Shared=yes, Static=no
