aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2023-03-14 18:44:21 +0000
committerDuncan Bellamy <dunk@denkimushi.com>2023-03-14 18:44:21 +0000
commitaeac58faaf9826f2b1de0786ccc50ba9d4495cdb (patch)
tree74668cb412ab4f6d3b1fb9cd6f1b138ca991acb8 /contrib
parent22fdc56ae5ffc6e3439a5200e053147fee44d0ac (diff)
downloadrspamd-aeac58faaf9826f2b1de0786ccc50ba9d4495cdb.tar.gz
rspamd-aeac58faaf9826f2b1de0786ccc50ba9d4495cdb.zip
[Minor] Fix some compiler warnings
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libottery/aes_cryptobox.c2
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