tce-load -i compiletc libgpg-error-dev

wget https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.5.1.tar.bz2

cd libassuan-2.5.1

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

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

make [0m 3.03s]
sudo make install


        Libassuan v2.5.1 has been configured as follows:

        Revision: 8fc922c  (36809)
        Platform: x86_64-pc-linux-gnu