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" $SAGE_CONFIGURE_GMP \
            $SAGE_CONFIGURE_MPFR $SAGE_CONFIGURE_FLINT || \
    sdh_die "Error configuring arb."

sdh_make verbose
sdh_make_install
