tce-load -i compiletc openssl-1.1.1-dev readline-dev libidn2-dev http://lftp.yar.ru/ftp/lftp-4.9.1.tar.xz cd lftp-4.9.1 edit configure for ac_header in curses.h term.h ncursesw/curses.h ncursesw/term.h ncursesw/termcap.h for ac_header in libintl.h fcntl.h sys/time.h errno.h stdlib.h varargs.h dirent.h\ termios.h termio.h sys/select.h sys/stropts.h string.h memory.h\ strings.h sys/ioctl.h dlfcn.h arpa/inet.h arpa/nameser.h netinet/in.h netinet/tcp.h\ netinet/in_systm.h netinet/ip.h ncursesw/termcap.h sys/statfs.h ifaddrs.h\ resolv.h langinfo.h endian.h locale.h expat.h linux/magic.h socks.h edit src/lftp_tinfo.cc same LIBS="-L/usr/local/lib -lncursesw" CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --without-gnutls --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 [0m 56.72s] sudo make install