tce-load -i intltool gobject-introspection-dev gstreamer-0.10-dev alsa-dev libvorbis-dev libtheora-dev gudev-lib-dev

cd gst-plugins-base-0.10.36

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-introspection=yes --libexecdir=/usr/local/lib

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

make
sudo make install

configure: *** Plug-ins without external dependencies that will be built:
        adder
        app
        audioconvert
        audiorate
        audioresample
        audiotestsrc
        encoding
        ffmpegcolorspace
        gdp
        playback
        subparse
        tcp
        typefind
        videorate
        videoscale
        videotestsrc
        volume

configure: *** Plug-ins without external dependencies that will NOT be built:

configure: *** Plug-ins with dependencies that will be built:
        alsa
        gio
        ogg
        pango
        theora
        vorbis
        ximagesink
        xvimagesink

configure: *** Plug-ins with dependencies that will NOT be built:
        cdparanoia
        gnomevfs
        ivorbisdec
        libvisual
        video4linux
