#!/bin/sh

. config/options

setup_toolchain host

cd $PKG_BUILD
./configure --prefix=$ROOT/$TOOLCHAIN \
            --disable-debug \
            --disable-warnerror \
            --disable-profiling \
            --disable-gcov \
            --disable-python \
            --disable-python-bindings \
            --enable-nls \
            --disable-rpath \
            --without-dmalloc \
            --with-gnu-ld \
            --without-libiconv-prefix \
            --without-libintl-prefix

make
make install
