tce-load -i Xorg-7.7-3d-dev automake libtool-dev intltool git clone git://anongit.freedesktop.org/nouveau/xf86-video-nouveau cd xf86-video-nouveau-1.0.15 ./autogen.sh 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 --sysconfdir=/etc find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib includedir: ${prefix}/include CFLAGS: -g -O2 -Wall -minline-all-stringops -fvisibility=hidden -I/usr/local/include/xorg -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include CXXFLAGS: Macros: Run 'make' to build xf86-video-nouveau