#!/bin/bash

cd $BLDDIR
rm -rf mpfr-$MPFR_VER
tar -xf $SRCDIR/mpfr-$MPFR_VER.tar.bz2
cd mpfr-$MPFR_VER

LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
./configure --prefix=/cross-tools \
    --enable-shared --with-gmp=/cross-tools
make
make install

cd $ROOT
