tce-load -i compiletc pulseaudio-dev

cd libao-1.2.0

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

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

make
sudo make install

  libao 1.2.0:  Automatic configuration OK.

  Backends to be built:

    AU file output: .............. yes
    RAW file output: ............. yes
    WAV file output: ............. yes

    AIX live output: ............. no
    ALSA live output: ............ yes
    ARTS live output: ............ no
    ESD live output: ............. no
    IRIX live output: ............ no
    MACOSX live output: .......... no
    NAS live output: ............. no
    NULL live output: ............ yes
    OSS live output: ............. yes
    PULSE live output: ........... yes
    ROAR live output: ............ no
    SNDIO live output: ........... no
    SUN live output: ............. no
    Windows WMM live output: ..... no

  Installation paths:

    libao: ....................... /usr/local/lib
    C header files: .............. /usr/local/include/ao
    Documentation: ............... /usr/local/share/doc/libao

