mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
RISC-V: Fix `test' operand error with soft-float ABI being configured
Fix a: .../sysdeps/unix/sysv/linux/riscv/configure: line 181: test: =: unary operator expected message produced by the RISC-V configure fragment with the soft-float ABI selected, caused by $libc_cv_riscv_float_abi evaluating to nil in the invocation of `test $libc_cv_riscv_float_abi = no'. * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote $libc_cv_riscv_float_abi in `test' invocation. * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2019-03-30 Maciej W. Rozycki <macro@wdc.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
|
||||||
|
$libc_cv_riscv_float_abi in `test' invocation.
|
||||||
|
* sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
|
||||||
|
|
||||||
2019-03-29 Paul A. Clarke <pc@us.ibm.com>
|
2019-03-29 Paul A. Clarke <pc@us.ibm.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
|
* sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
|
||||||
|
2
sysdeps/unix/sysv/linux/riscv/configure
vendored
2
sysdeps/unix/sysv/linux/riscv/configure
vendored
@ -178,7 +178,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|||||||
fi
|
fi
|
||||||
rm -f conftest*
|
rm -f conftest*
|
||||||
|
|
||||||
if test $libc_cv_riscv_float_abi = no; then
|
if test "$libc_cv_riscv_float_abi" = no; then
|
||||||
as_fn_error $? "Unable to determine floating-point ABI" "$LINENO" 5
|
as_fn_error $? "Unable to determine floating-point ABI" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ AC_EGREP_CPP(yes, [#ifdef __riscv_float_abi_soft
|
|||||||
yes
|
yes
|
||||||
#endif
|
#endif
|
||||||
],libc_cv_riscv_float_abi=)
|
],libc_cv_riscv_float_abi=)
|
||||||
if test $libc_cv_riscv_float_abi = no; then
|
if test "$libc_cv_riscv_float_abi" = no; then
|
||||||
AC_MSG_ERROR([Unable to determine floating-point ABI])
|
AC_MSG_ERROR([Unable to determine floating-point ABI])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user