cd src

if [ "$SAGE64" = "yes" ]; then
    echo "Building a 64-bit version of libatomic_ops."
    export CFLAGS="-m64 $CFLAGS"
fi

sdh_configure --enable-static $LIBATOMIC_OPS_CONFIGURE
sdh_make
sdh_make_install
