tce-load -i py2cairo-dev gobject-introspection-dev

cd pygobject-3.10.2

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --with-python=/usr/local/bin/python

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

make
sudo make install

        pygobject 3.10.2

        Using python interpreter:       /usr/local/bin/python
        libffi support:                 yes
        cairo support:                  yes
        thread support:                 yes
        code coverage support:          no
