tce-load -i glib2-dev gobject-introspection-dev perl5 gsl-dev gmp-dev

cd gstreamer-1.4.5

CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --libexecdir=/usr/local/lib

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

make
sudo make install

Configuration
	Version                    : 1.4.5
	Source code location       : .
	Prefix                     : /usr/local
	Compiler                   : gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -std=gnu99
	Package name               : GStreamer source release
	Package origin             : Unknown package origin

	Documentation (manuals)    : no
	Documentation (API)        : no

	Debug Logging              : yes
	Command-line parser        : yes
	Option parsing in gst_init : yes
	Tracing subsystem          : yes
	Allocation tracing         : yes
	Plugin registry            : yes
	Plugin support	           : yes
	Static plugins             : no
	Unit testing support       : yes

	Debug                      : yes
	Profiling                  : no

	Building benchmarks        : yes
	Building examples          : yes
	Building test apps         : yes
	Building tests that fail   : no
	Building tools             : yes
