tce-load -i compiletc intltool gudev-lib-dev clutter-gst-dev clutter-gtk-dev gnome-desktop-dev libcanberra-dev gnome-video-effects itstool gobject-introspection-dev gst-plugins-good-dev gst-plugins-bad-dev clutter-gir vala-dev cd cheese-3.28.0 sudo cp libinput.la /usr/local/lib sudo cp libatk-1.0.la /usr/local/lib sudo cp libjson-glib-1.0.la /usr/local/lib 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 --libexecdir=/usr/local/lib/cheese find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make make install