#buidl deps tce-load -wi compiletc cmake # set GCC_FLAGS export CFLAGS="-march=i486 -mtune=i686 -Os -pipe -fexceptions" export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fexceptions" export LDFLAGS="-Wl,-O1" wget -O extra-cmake-modules.tar.xz https://download.kde.org/stable/frameworks/6.17/extra-cmake-modules-6.17.0.tar.xz 7z x extra-cmake-modules.tar.xz cd extra-cmake-modules cmake . make -j$(nproc) make DESTDIR=/tmp/extra-cmake-modules install