tce-load -i intltool glib2-dev gobject-introspection-dev curl-dev

cd liboauth-1.0.1

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti"  ./configure --prefix=/usr/local --disable-static

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

make
sudo make install


 liboauth configured:
 -----------------------

  version:                1.0.1
  interface revision:     8:5:8
  hash/signature:         openSSL
  http integration:       libcurl
  libcurl-timeout:        -
  generate documentation: no
  installation prefix:    /usr/local
  CFLAGS:                 -Wall -g -O2
  LDFLAGS:                -Wall -export-symbols-regex '^oauth_.*' -Wl,--as-needed 