tce-load -i compiletc cmake ffmpeg4-dev pcsc-lite-dev https://github.com/FreeRDP/FreeRDP/releases/download/2.1.2/freerdp-2.1.2.tar.gz cd freerdp-2.1.2 mkdir build cd build cmake -DCMAKE_C_FLAGS="-march=i486 -mtune=i686 -Os -pipe" -DCMAKE_CXX_FLAGS="-march=i486 -mtune=i686 -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_BUILD_TYPE=Release -DWITH_LIBSYSTEMD=OFF -DWITH_PULSE=ON -DWITH_CUPS=ON -DWITH_GSTREAMER_1_0=OFF -DWITH_JPEG=ON -DWITH_PCSC=ON -DWITH_LAME=ON -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ find . -name flags.make -type f -exec sed -i 's/-O3//g' {} \; find . -name link.txt -type f -exec sed -i 's/-O3//g' {} \; make [1m 30.52s] sudo make install