diff options
author | Maciej W. Rozycki <macro@wdc.com> | 2019-03-30 01:11:31 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@wdc.com> | 2019-03-30 01:11:31 +0000 |
commit | 656dd306d49f34fb89a118624def9c1db8a9cfcb (patch) | |
tree | f7cd3a56c32cbba323c0072cde90e8c30436957f /sysdeps/unix/sysv/linux/riscv/configure | |
parent | 10cce66930b3dc0405106bbb62a6d44602bec118 (diff) | |
download | glibc-656dd306d49f34fb89a118624def9c1db8a9cfcb.zip glibc-656dd306d49f34fb89a118624def9c1db8a9cfcb.tar.gz glibc-656dd306d49f34fb89a118624def9c1db8a9cfcb.tar.bz2 |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv/configure')
-rwxr-xr-x | sysdeps/unix/sysv/linux/riscv/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/configure b/sysdeps/unix/sysv/linux/riscv/configure index 816e9145..3018ca8 100755 --- a/sysdeps/unix/sysv/linux/riscv/configure +++ b/sysdeps/unix/sysv/linux/riscv/configure @@ -178,7 +178,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | fi 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 fi |