abinfo "Fixing line endings ..."
find "$SRCDIR" -type f -exec dos2unix {} \;

abinfo "Patching zpaq ..."
ab_apply_patches "$SRCDIR"/autobuild/patches/*.deferred

abinfo "Appending CPPFLAGS ..."
# FIXME: Fix segfault on other architectures.
if ! ab_match_arch amd64; then
    export CPPFLAGS="${CPPFLAGS} -DNOJIT"
fi
