#!/bin/sh

. config/options $1

setup_toolchain host

cd $PKG_BUILD
./configure --host=$HOST_NAME \
            --build=$HOST_NAME \
            --prefix=$ROOT/$TOOLCHAIN \
            --enable-shared \
            --disable-static \
            --with-gnu-ld

make install
