tce-load -i compiletc openssl-1.1.1-dev

https://github.com/tpm2-software/tpm2-tss/releases/download/2.3.1/tpm2-tss-2.3.1.tar.gz

cd tpm2-tss-2.3.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 --localstatedir=/var --disable-static --disable-doxygen-doc

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

make [0m 45.15s]
sudo make install

    tpm2-tss 2.3.1
    esapi:              yes
    tctidefaultmodule:  libtss2-tcti-default.so
    tctidefaultconfig:  
    unit:               no
    fuzzing:            none
    debug:              no
    maxloglevel:        trace
    doxygen:            0 no
    tcti-device-async:  no
    tcti-partial-read:  no
    crypto backend:     ossl
