tce-load -i compiletc cyrus-sasl-dev spice-protocol libcacard-dev celt-dev gst-plugins-good gst-plugins-bad-dev gst-plugins-ugly gst-libav opus-dev orc-dev liblz4-dev wget https://www.spice-space.org/download/releases/spice-0.15.2.tar.bz2 cd spice-0.15.2 CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-smartcard --enable-gstreamer=1.0 --enable-celt051 [-fno-rtti fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [9m 3.31s] sudo make install Spice 0.15.2 ============== prefix: /usr/local C compiler: gcc -flto -mtune=generic -Os -pipe C++ compiler: g++ -flto -mtune=generic -Os -pipe LZ4 support: yes Smartcard: yes GStreamer: 1.0 SASL support: yes Manual: no