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

cd pygobject-3.21.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 --with-python=/usr/local/bin/python2.7

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

make
sudo make install

        pygobject 3.21.0

        Using python interpreter:       /usr/local/bin/python2.7
        cairo support:                  yes
        thread support:                 yes
        code coverage support:          no
