summaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-11 13:26:05 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-11 13:26:05 -0400
commit47edbd4fad564f0d7412ec8605f4c0846e9f1abe (patch)
treecab93c8ff469212cee0fda25660882b5f4f43b10 /src/ext
parentcb71c5ddbb9ae8de96ddfae6eca5114dc294a49b (diff)
downloadtor-47edbd4fad564f0d7412ec8605f4c0846e9f1abe.tar.gz
tor-47edbd4fad564f0d7412ec8605f4c0846e9f1abe.zip
Fix build on 32-bit systems.
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/ed25519/donna/ed25519-donna.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ext/ed25519/donna/ed25519-donna.h b/src/ext/ed25519/donna/ed25519-donna.h
index 64561d3288..299c8d90fd 100644
--- a/src/ext/ed25519/donna/ed25519-donna.h
+++ b/src/ext/ed25519/donna/ed25519-donna.h
@@ -10,6 +10,16 @@
#include "ed25519-donna-portable.h"
+#include "orconfig.h"
+
+#ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS
+/* Some of the ASM here is very long strings. */
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Woverlength-strings"
+#else
+#pragma GCC diagnostic ignored "-Woverlength-strings"
+#endif
+#endif
#if defined(ED25519_SSE2)
#else