tce-load -wil compiletc cmake wayland-dev libxkbcommon-dev libXrandr-dev libXinerama-dev libXcursor-dev libXi-dev https://github.com/glfw/glfw/releases/download/3.4/glfw-3.4.zip cd glfw-3.4 mkdir build cd build cmake -DCMAKE_CXX_FLAGS="-flto -mtune=generic -Os -pipe" -DCMAKE_C_FLAGS="-flto -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON ../ sed -i 's/-O2 -g//' *.txt make [0m 53.16s] mkdir /tmp/dest DESTDIR=/tmp/dest make install