tce-load -i compiletc cmake wget https://github.com/lloyd/yajl/archive/refs/tags/2.1.0.tar.gz cd yajl-2.1.0 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -march=i486 -mtune=i686 -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ find . -name flags.make -type f -exec sed -i 's/-DNDEBUG -O2/-flto -march=i486 -mtune=i686 -Os -pipe -DNDEBUG/g' {} \; find . -name link.txt -type f -exec sed -i 's/-DNDEBUG -O2/-flto -march=i486 -mtune=i686 -Os -pipe -DNDEBUG/g' {} \; make [0m 4.57s] make install