tce-load -i gtk3-dev intltool vala-dev itstool libxml2-python

cd baobab-3.22.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 --localstatedir=/var

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

make
make install

    Baobab 3.22.0

    prefix: /usr/local
    Vala compiler: /usr/local/bin/valac
    C compiler: gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe

    Now type 'make' to build baobab
