tce-load -wi compiletc automake https://github.com/smartmontools/smartmontools/archive/refs/tags/RELEASE_7_3.tar.gz cd smartmontools-RELEASE_7_3/smartmontools ./autogen.sh CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fexceptions -fno-rtti" ./configure --prefix=/usr/local [note: the TCL standard of -fnoexceptions does not work] sed -i 's/-g -O2//' Makefile make [0m 26.43s] sudo make install