diff options
author | Duncan Bellamy <dunk@denkimushi.com> | 2023-03-14 18:44:21 +0000 |
---|---|---|
committer | Duncan Bellamy <dunk@denkimushi.com> | 2023-03-14 18:44:21 +0000 |
commit | aeac58faaf9826f2b1de0786ccc50ba9d4495cdb (patch) | |
tree | 74668cb412ab4f6d3b1fb9cd6f1b138ca991acb8 /contrib/libottery | |
parent | 22fdc56ae5ffc6e3439a5200e053147fee44d0ac (diff) | |
download | rspamd-aeac58faaf9826f2b1de0786ccc50ba9d4495cdb.tar.gz rspamd-aeac58faaf9826f2b1de0786ccc50ba9d4495cdb.zip |
[Minor] Fix some compiler warnings
Diffstat (limited to 'contrib/libottery')
-rw-r--r-- | contrib/libottery/aes_cryptobox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libottery/aes_cryptobox.c b/contrib/libottery/aes_cryptobox.c index 0e5434442..ea86dc747 100644 --- a/contrib/libottery/aes_cryptobox.c +++ b/contrib/libottery/aes_cryptobox.c @@ -28,8 +28,10 @@ #include "cryptobox.h" #if defined(__x86_64__) && defined(RSPAMD_HAS_TARGET_ATTR) +#if defined(__GNUC__) && !defined(__clang__) #pragma GCC push_options #pragma GCC target("aes") +#endif #ifndef __SSE2__ #define __SSE2__ #endif |