tce-load -i lvm2-dev wget https://ftp.gnu.org/gnu/parted/parted-3.6.tar.xz cd parted-3.6 edit configure for ac_lib in '' tinfo ncursesw curses termcap termlib; do CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -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 19.31s] sudo make install