diff options
-rw-r--r-- | sysdeps/aarch64/configure | 2 | ||||
-rw-r--r-- | sysdeps/aarch64/configure.ac | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac index ba519c9..259edc3 100644 --- a/sysdeps/aarch64/configure.ac +++ b/sysdeps/aarch64/configure.ac @@ -112,7 +112,7 @@ AC_CACHE_CHECK(for availability of SVE ACLE, libc_cv_has_sve_acle, [dnl 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 |