tce-load -i compiletc tpm2-tss-dev curl-dev https://github.com/tpm2-software/tpm2-tools/releases/download/4.0/tpm2-tools-4.0.tar.gz cd tpm2-tools-4.0 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 40.83s] sudo make install