diff options
author | dengjianbo <dengjianbo@loongson.cn> | 2023-08-08 14:15:43 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2023-08-14 09:47:09 +0800 |
commit | cb7954c4c2f46e5da5374c75576612c9b02b2592 (patch) | |
tree | ae31a4da26ee1dd4be1d7dedcce4b54d336fda12 /sysdeps/loongarch/configure | |
parent | 57b2c14272998c0ea08c005edbd90887c2d5fa6b (diff) | |
download | glibc-cb7954c4c2f46e5da5374c75576612c9b02b2592.zip glibc-cb7954c4c2f46e5da5374c75576612c9b02b2592.tar.gz glibc-cb7954c4c2f46e5da5374c75576612c9b02b2592.tar.bz2 |
LoongArch: Add minuimum binutils required version
LoongArch glibc can add some LASX/LSX vector instructions codes,
change the required minimum binutils version to 2.41 which could
support vector instructions. HAVE_LOONGARCH_VEC_ASM is removed
accordingly.
Diffstat (limited to 'sysdeps/loongarch/configure')
-rw-r--r-- | sysdeps/loongarch/configure | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/loongarch/configure b/sysdeps/loongarch/configure index 5843c7c..395ddc9 100644 --- a/sysdeps/loongarch/configure +++ b/sysdeps/loongarch/configure @@ -128,8 +128,7 @@ rm -f conftest* fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_loongarch_vec_asm" >&5 printf "%s\n" "$libc_cv_loongarch_vec_asm" >&6; } -if test $libc_cv_loongarch_vec_asm = yes; then - printf "%s\n" "#define HAVE_LOONGARCH_VEC_ASM 1" >>confdefs.h - +if test $libc_cv_loongarch_vec_asm = no; then + as_fn_error $? "binutils version is too old, use 2.41 or newer version" "$LINENO" 5 fi |