tce-load -i gtk3-dev gst-plugins-good-dev vala-dev gobject-introspection-dev usbredir-dev libcacard-dev

cd spice-gtk-0.32

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-vala --with-sasl=yes

configure:16548: $PKG_CONFIG --exists --print-errors "libsasl2"
Variable 'exec_prefix' not defined in '/usr/local/lib/pkgconfig/libsasl2.pc'

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make
sudo make install

        Spice-Gtk 0.32
        ==============

        prefix:                   /usr/local
        c compiler:               gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe
        Target:                   Unix

        Gtk:                      3.0
        Coroutine:                ucontext
        PulseAudio:               yes
        GStreamer Audio:          yes
        GStreamer Video:          yes
        SASL support:             yes
        Smartcard support:        yes
        USB redirection support:  yes with libusb hotplug
        DBus:                     yes
        WebDAV support:           no
        LZ4 support:              auto

        Now type 'make' to build spice-gtk
