tce-load -i gtk3-dev gtk3-gir gobject-introspection-dev intltool gnutls-dev vala-dev libxml2-dev bash pcre2-dev glade-dev

cd vte-0.46.0

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 --disable-static --localstatedir=/var --enable-introspection --libexecdir=/usr/local/lib/vte-2.91 --enable-glade-catalogue

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

make
sudo make install

## -------------- ##
## Configuration. ##
## -------------- ##

Configuration for libvte 0.46.0 for gtk+-3.0
        GNUTLS: yes
        Installing Glade catalogue: yes
        Debugging: no
        Introspection: yes
        Vala bindings: yes
        Test application: yes
