tce-load -i compiletc automake libtool-dev intltool gettext-dev libnl-dev libpci-dev

https://github.com/fenrus75/powertop/archive/v2.12.tar.gz

cd powertop-2.12

./autogen.sh

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var

[-fno-exceptions -fno-rtti fails]

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

make [0m 33.73s]
sudo make install