aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/algs/skein/skein_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/icp/algs/skein/skein_block.c')
-rw-r--r--module/icp/algs/skein/skein_block.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/icp/algs/skein/skein_block.c b/module/icp/algs/skein/skein_block.c
index 7ba165a48..3ad52da5f 100644
--- a/module/icp/algs/skein/skein_block.c
+++ b/module/icp/algs/skein/skein_block.c
@@ -30,7 +30,9 @@
* the #pragma here to ignore the warning.
*/
#if defined(_ILP32) || defined(__powerpc) /* Assume small stack */
+#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic ignored "-Wframe-larger-than="
+#endif
/*
* We're running on 32-bit, don't unroll loops to save stack frame space
*