aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-17 11:47:05 +0000
committerGitHub <noreply@github.com>2023-03-17 11:47:05 +0000
commite9f1c4097e5cb725a8296344b3adec072c98f2d1 (patch)
tree50f296a1a0b9cd8b9c7e0d282507a6e4e3e0469a /contrib
parent044a7abd8a9ba2e63d80438609b5a36cb6c866d6 (diff)
parentaeac58faaf9826f2b1de0786ccc50ba9d4495cdb (diff)
downloadrspamd-e9f1c4097e5cb725a8296344b3adec072c98f2d1.tar.gz
rspamd-e9f1c4097e5cb725a8296344b3adec072c98f2d1.zip
Merge pull request #4436 from a16bitsysop/warnings
[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