tce-load -i compiletc cmake https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz cd uchardet-0.0.6 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ make [0m 3.86s] sudo make install