summaryrefslogtreecommitdiff
path: root/debian/patches/arm-alignment.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-01 20:18:01 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-01 20:18:01 +0300
commit77d81aa4a3747b7dfbb17e43b16e1a514550c60c (patch)
tree0679778b3a5b46cb96d7c57485c847b83cc78bbf /debian/patches/arm-alignment.diff
parentc089c4500b0b78acf03ee5405ad250a84b0dfa66 (diff)
downloadpython3.8-debian.tar.gz
Import python3.8 (3.8.0-5)debian/3.8.0-5debian
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 */