tce-load -i compiletc readline-dev openssl-dev libidn2-dev wget http://lftp.yar.ru/ftp/lftp-4.9.2.tar.xz cd lftp-4.9.2 edit configure for ac_header in curses.h term.h ncursesw/curses.h ncursesw/term.h ncursesw/termcap.h edit src/lftp_tinfo.cc same LIBS="-lncursesw" CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --enable-shared --with-openssl find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make [1m 9.16s] sudo make install