aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/configure')
-rw-r--r--sysdeps/aarch64/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure
index 22ed9d3..d0d78d6 100644
--- a/sysdeps/aarch64/configure
+++ b/sysdeps/aarch64/configure
@@ -342,7 +342,7 @@ else
cat > conftest.c <<EOF
#include <arm_sve.h>
EOF
- if ! ${CC-cc} conftest.c -fsyntax-only; then
+ if ! ${CC-cc} conftest.c -fsyntax-only -ffreestanding; then
as_fn_error 1 "mathvec is enabled but compiler does not have SVE ACLE. Either use a compatible compiler or configure with --disable-mathvec (this results in incomplete ABI)."
fi
rm conftest.c