tce-load -i compiletc cmake ffmpeg-dev libXv-dev libxkbfile-dev libICE-dev wget https://github.com/FreeRDP/FreeRDP/releases/download/2.11.7/freerdp-2.11.7.tar.gz cd freerdp-2.11.7 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_BUILD_TYPE=Release -DWITH_LIBSYSTEMD=OFF -DWITH_PULSE=ON -DWITH_GSTREAMER_1_0=OFF -DWITH_JPEG=ON -DWITH_LAME=ON -DWITH_FFMPEG=ON -DWITH_X264=OFF -DWITH_OSS=OFF -DWITH_SWSCALE=ON -DWITH_CAIRO=ON -DWITH_SERVER=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 [7m 19.82s] sudo make install