tce-load -i compiletc perl5 goffice-dev fribidi-dev wv-dev boost-1.65-dev gobject-introspection-dev libical3-dev libsoup-dev redland-dev libwmf-dev enchant-dev gtk3-gir libgsf-gir librsvg-dev

http://www.abisource.com/downloads/abiword/3.0.4/source/abiword-3.0.4.tar.gz

cd abiword-3.0.4
   
sed -e "s/free_suggestions/free_string_list/" -e "s/_to_personal//" -e "s/in_session/added/" -i src/af/xap/xp/enchant_checker.cpp

CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-introspection --enable-plugins="openwriter goffice opendocument babelfish docbook pdf google collab mswrite openxml wikipedia wmf epub" --without-evolution-data-server

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [15m 58.72s]
sudo make install

Configuration:
  host                  i686-pc-linux-gnu
  dynamic binary        yes
  static binary         no
  platform              unix (embedded: no)
  toolkit               gtk
  debug                 no

Optional features:
  menubutton            no
  printing              yes
  spell checking        yes
  status bar            yes
  emacs keybinding      yes
  vi keybinding         yes
  clipart               no
  templates             no

Optional dependencies:
  gio                   yes
  gsf-gio               yes
  goffice               yes
  redland               yes
  evolution_data_server no
  libical               yes
  champlain             no

Builtin plugins         
Plugins                 opendocument openxml openwriter goffice opendocument babelfish docbook pdf google collab mswrite openxml wikipedia wmf epub
