tce-load -i compiletc python3.6-dev https://www.riverbankcomputing.com/static/Downloads/sip/4.19.17/sip-4.19.17.tar.gz cd sip-4.19.17 python3 configure.py --sip-module=PyQt5.sip find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; find . -name sipconfig.py -type f -exec sed -i 's/-O2//g' {} \; make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" sudo make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" install