tce-load -i compiletc cd ncurses-6.1 sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in 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 --with-shared --without-normal --without-debug --enable-pc-files --enable-widec --with-cxx-shared find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make [0m 39.81s] sudo make install ** Configuration summary for NCURSES 6.1 20180127: extended funcs: yes xterm terminfo: xterm-new bin directory: /usr/local/bin lib directory: /usr/local/lib include directory: /usr/local/include/ncursesw man directory: /usr/local/share/man terminfo directory: /usr/local/share/terminfo pkg-config directory: /usr/local/share/pkgconfig ** Include-directory is not in a standard location