tce-load -i compiletc cmake ninja gst-plugins-bad-dev libsecret-dev ruby-dev enchant2-dev geoclue-dev gobject-introspection-dev hicolor-icon-theme gperf perl5 libxslt-dev gettext harfbuzz-icu-dev gtk3-gir libsoup-gnome-gir openjpeg2-dev libsoup-gnome-dev lcms2-dev wget https://webkitgtk.org/releases/webkitgtk-2.34.5.tar.xz cd webkitgtk-2.34.5 mkdir build cd build LD_PRELOAD=/sources/uname_hack.so cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-march=i486 -mtune=i686 -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-march=i486 -mtune=i686 -Os -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_INSTALL_LIBEXECDIR=/usr/local/lib -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON -DUSE_LD_GOLD=OFF -DENABLE_MINIBROWSER=ON -DUSE_LIBHYPHEN=OFF -DPORT=GTK -DUSE_WOFF2=OFF -Wno-dev -DUSE_WPE_RENDERER=OFF -DENABLE_BUBBLEWRAP_SANDBOX=OFF -DENABLE_GLES2=ON -DCMAKE_VERBOSE_MAKEFILE=TRUE -DUSE_SYSTEMD=OFF -DENABLE_GAMEPAD=OFF -DLIB_INSTALL_DIR=/usr/local/lib -DUSE_SOUP2=ON -G Ninja ../ [lto fails] LD_PRELOAD=/sources/uname_hack.so ninja -j1 [3h 40m 34s] LD_PRELOAD=/sources/uname_hack.so sudo ninja install libwebkit2gtk-4.0.so.37 -- Enabled features: -- ENABLE_BUBBLEWRAP_SANDBOX ..................... OFF -- ENABLE_DRAG_SUPPORT ON -- ENABLE_GAMEPAD ................................ OFF -- ENABLE_GLES2 ON -- ENABLE_GTKDOC ................................. OFF -- ENABLE_INTROSPECTION ON -- ENABLE_MEDIA_SOURCE ........................... ON -- ENABLE_MINIBROWSER ON -- ENABLE_QUARTZ_TARGET .......................... OFF -- ENABLE_SPELLCHECK ON -- ENABLE_TOUCH_EVENTS ........................... ON -- ENABLE_VIDEO ON -- ENABLE_WAYLAND_TARGET ......................... OFF -- ENABLE_WEBDRIVER ON -- ENABLE_WEB_AUDIO .............................. ON -- ENABLE_WEB_CRYPTO ON -- ENABLE_X11_TARGET ............................. ON -- USE_AVIF OFF -- USE_GTK4 ...................................... OFF -- USE_LCMS ON -- USE_LIBHYPHEN ................................. OFF -- USE_LIBNOTIFY ON -- USE_LIBSECRET ................................. ON -- USE_OPENGL_OR_ES ON -- USE_OPENJPEG .................................. ON -- USE_SOUP2 ON -- USE_SYSTEMD ................................... OFF -- USE_WOFF2 OFF -- USE_WPE_RENDERER .............................. OFF