aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
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