Cross-compiling for at least armv7a, I get build failures due to 32-/64-bit type mismatches. Invoking `append-lfs-flags` in `src_configure` resolves the problem for me.