tce-load -i compiletc readline-dev gettext cd hunspell-1.4.1 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --with-ui --with-readline find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install edit src/tools/hunspell.cxx #define LIBDIR \ "/usr/share/hunspell:" \ "/usr/local/share/hunspell:" \ "/usr/share/myspell:" \ "/usr/local/share/myspell:" \ "/usr/share/myspell/dicts:" \ "/usr/local/share/myspell/dicts:" \ #ifdef HAVE_CURSES_H #ifdef HAVE_NCURSESW_H #include