wget https://github.com/mate-desktop/mate-common/releases/download/v1.24.2/mate-common-1.24.2.tar.xz tar xf mate-common-1.24.2.tar.xz cd mate-common-1.24.2 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" \ CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" \ ./autogen.sh find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install