[v2,15/18] riscv32: Specify the arch_minimum_kernel as 5.4
Commit Message
---
sysdeps/unix/sysv/linux/riscv/configure | 4 ++++
sysdeps/unix/sysv/linux/riscv/configure.ac | 4 ++++
2 files changed, 8 insertions(+)
@@ -162,6 +162,10 @@ if test $libc_cv_riscv_int_abi = no; then
as_fn_error $? "Unable to determine integer ABI" "$LINENO" 5
fi
+if test $libc_cv_riscv_int_abi = ilp32; then
+ arch_minimum_kernel=5.4.0
+fi
+
libc_cv_riscv_float_abi=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -13,6 +13,10 @@ if test $libc_cv_riscv_int_abi = no; then
AC_MSG_ERROR([Unable to determine integer ABI])
fi
+if test $libc_cv_riscv_int_abi = ilp32; then
+ arch_minimum_kernel=5.4.0
+fi
+
libc_cv_riscv_float_abi=no
AC_EGREP_CPP(yes, [#ifdef __riscv_float_abi_double
yes