cd src

# The git head of arb now honors LDFLAGS; The following workaround can
# be removed in arb >= 2.8 when it is released
export EXTRA_SHARED_FLAGS=$LDFLAGS

./configure --disable-static --prefix="$SAGE_LOCAL" --with-flint="$SAGE_LOCAL" \
    $SAGE_CONFIGURE_GMP $SAGE_CONFIGURE_MPFR || \
    sdh_die "Error configuring arb."

sdh_make verbose
sdh_make_install
