Compiled on X8DTU with 2 physical Intel Xeon E5530 CPU (8C16T) Compile Flags: CFLAGS='-mtune=generic -Os -pipe -fuse-linker-plugin -flto -fno-exceptions' CXXFLAGS='-mtune=generic -Os -pipe -fuse-linker-plugin -flto -fno-exceptions -fno-rtti' LDFLAGS='-Wl,-O1' export CFLAGS CXXFLAGS LDFLAGS Dependencies: bash cmake compiletc sdl2-dev python3.6 zip unzip patchelf Commands: tar xf zziplib-0.13.72.tar.gz cd zziplib-0.13.72 mkdir build && cd build # switch to bash environment bash cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR='lib' -DZZIP_MANPAGES=OFF time make -j15 real 0m26.413s user 0m9.520s sys 0m2.255s # somehow the main binary is not copied # and the rpath need to be removed cp ./bins/zzip /tmp/b-zzip/usr/local/bin/ patchelf --remove-rpath zzip