This patch series includes the necessary changes for bash to cross-compile for FreeBSD/RISC-V, and likely also FreeBSD/arm64, though I have not tested that.
Jessica Clarke (3): aclocal.m4: Fix BASH_FUNC_STRSIGNAL when compiling for FreeBSD/RISC-V aclocal.m4: Fix BASH_FUNC_SBRK when cross-compiling for FreeBSD/RISC-V configure.ac: Disable Bash malloc on FreeBSD/arm64 and FreeBSD/RISC-V aclocal.m4 | 14 ++++++++++---- configure.ac | 3 +++ 2 files changed, 13 insertions(+), 4 deletions(-) -- 2.20.1