tce-load -i compiletc readline-dev openssl-dev libidn2-dev cd lftp-4.8.3 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 -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 --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 [0m 42.98s] make install