tce-load -i compiletc https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.1.2.tar.bz2 cd alsa-lib-1.2.1.2 patch -Np0 -i ../alsa-lib-1.1.3_gid.patch CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --with-configdir=/usr/local/etc/alsa [lto fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 23.87s] make install