mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
riscv32: Specify the arch_minimum_kernel as 5.4
This commit is contained in:
parent
5bafccaff6
commit
376aa9d427
4
sysdeps/unix/sysv/linux/riscv/configure
vendored
4
sysdeps/unix/sysv/linux/riscv/configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user