tce-load -i compiletc tpm2-tss-dev curl-dev https://github.com/tpm2-software/tpm2-tools/releases/download/4.1.3/tpm2-tools-4.1.3.tar.gz cd tpm2-tools-4.1.3 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 find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-Werror//g' {} \; edit Makefile delete $(MANS) [needs pandoc] make [0m 58.63s] sudo make install - tpm2-tools: 4.1.3 - Man pages: no - Unit tests: no