if [[ "${CROSS:-$ARCH}" = "loongson3" ]]; then
    abinfo "Undefining mips to fix build ..."
    export CXXFLAGS="${CXXFLAGS} -Umips"
fi
