summaryrefslogtreecommitdiff
path: root/debian/patches/arm-alignment.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/arm-alignment.diff')
-rw-r--r--debian/patches/arm-alignment.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/arm-alignment.diff b/debian/patches/arm-alignment.diff
index a7a4b39..15d28b8 100644
--- a/debian/patches/arm-alignment.diff
+++ b/debian/patches/arm-alignment.diff
@@ -9,7 +9,7 @@ Description: Use aligned access for _sha3 module on ARM.
+/* Bus error on 32-bit ARM due to un-aligned memory accesses; 64-bit ARM
+ * doesn't complain but un-aligned memory accesses are sub-optimal */
+#if defined(__arm__) || defined(__aarch64__)
-+#define NO_MISALIGNED_ACCESSES
++#define NO_MISALIGNED_ACCESSES 1
+#endif
+
/* mangle names */