diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-12-14 14:20:05 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-12-14 14:20:05 +0900 |
commit | f62d5cf9f2683efa867fb04332c84ec899818d22 (patch) | |
tree | 62b7328ae7f203b2f6dee5d78c2a609f7a027e07 /configure.ac | |
parent | 693ffa145378682229473b0e811a9cea7c4d307a (diff) | |
download | libgcrypt-f62d5cf9f2683efa867fb04332c84ec899818d22.tar.gz |
build: Fix configure.ac for strict C99.
* configure.ac: More fixes for other architecture.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dff8314d..cd804305 100644 --- a/configure.ac +++ b/configure.ac @@ -2025,6 +2025,7 @@ AC_CACHE_CHECK([whether GCC inline assembler supports AArch64 SVE instructions], "mov z0.s, p0/z, \#55;\n\t" "ld1b {z0.b}, p0/z, [x1];\n\t" ); + void testfn(void); ]], [ testfn(); ])], [gcry_cv_gcc_inline_asm_aarch64_sve=yes]) fi]) @@ -2058,6 +2059,7 @@ AC_CACHE_CHECK([whether GCC inline assembler supports AArch64 SVE2 instructions] "mov z0.s, p0/z, \#55;\n\t" "ld1b {z0.b}, p0/z, [x1];\n\t" ); + void testfn(void); ]], [ testfn(); ])], [gcry_cv_gcc_inline_asm_aarch64_sve2=yes]) fi]) @@ -2108,6 +2110,7 @@ AC_CACHE_CHECK([whether GCC inline assembler supports AArch64 SHA3/SHA512/SM3/SM "sm4e v0.4s, v1.4s;\n\t" "sm4ekey v0.4s, v1.4s, v2.4s;\n\t" ); + void testfn(void); ]], [ testfn(); ])], [gcry_cv_gcc_inline_asm_aarch64_sha3_sha512_sm3_sm4=yes]) fi]) |