Merge pull request #10565 from minosgalanakis/bugfix/fix-intrisic-aesce-clang-36

[3.6 Backport] Fixed clang arm intrinsics for older compiler versions
This commit is contained in:
David Horstmann
2026-02-11 11:58:55 +00:00
committed by GitHub

View File

@@ -88,7 +88,11 @@
# define MBEDTLS_POP_TARGET_PRAGMA
# endif
# elif defined(__clang__)
# pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
# if __clang_major__ < 7
# pragma clang attribute push (__attribute__((target("crypto"))), apply_to=function)
# else
# pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
# endif
# define MBEDTLS_POP_TARGET_PRAGMA
# elif defined(__GNUC__)
# pragma GCC push_options