about summary refs log tree commit diff
path: root/sysdeps/aarch64/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/configure')
-rwxr-xr-x[-rw-r--r--]sysdeps/aarch64/configure5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure
index 2130f6b8f8..19d2b46cbf 100644..100755
--- a/sysdeps/aarch64/configure
+++ b/sysdeps/aarch64/configure
@@ -307,9 +307,10 @@ if ${libc_cv_aarch64_sve_asm+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat > conftest.s <<\EOF
-        ptrue p0.b
+	.arch armv8.2-a+sve
+	ptrue p0.b
 EOF
-if { ac_try='${CC-cc} -c -march=armv8.2-a+sve conftest.s 1>&5'
+if { ac_try='${CC-cc} -c conftest.s 1>&5'
   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   (eval $ac_try) 2>&5
   ac_status=$?