tce-load -i compiletc webkitgtk4-dev

cd wxWidgets-3.0.4

CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --with-gtk=3

[-fno-exceptions fails]

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

make [9m 39.37s]
sudo make install

Configured wxWidgets 3.0.4 for `i486-pc-linux-gnu'

  Which GUI toolkit should wxWidgets use?                 GTK+ 3 with support for GTK+ printing libnotify
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets support Unicode?                       yes (using wchar_t)
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.6      no
                                       wxWidgets 2.8      yes
  Which libraries should wxWidgets use?
                                       STL                no
                                       jpeg               sys
                                       png                sys
                                       regex              builtin
                                       tiff               sys
                                       zlib               sys
                                       expat              sys
                                       libmspack          no
                                       sdl                no