tce-load -i compiletc git automake libtool-dev intltool gettext-dev bc gperf texinfo rsync coreutils lvm2-dev git clone https://git.savannah.gnu.org/git/parted.git cd parted [libparted 3.2.122-46cd] ./bootstrap edit configure for ac_lib in '' tinfo ncursesw curses termcap termlib; do 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 -disable-static --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-Wabi//g' {} \; find . -name Makefile -type f -exec sed -i 's/-Wsuggest-attribute=pure//g' {} \; make [0m 27.12s] sudo make install