summaryrefslogtreecommitdiff
path: root/databases/mongodb34/files/patch-src_third__party_wiredtiger_SConscript
blob: f03d47f69b565966bb89c24a513df3378a8f6e63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/third_party/wiredtiger/SConscript.orig	2017-09-07 19:28:48 UTC
+++ src/third_party/wiredtiger/SConscript
@@ -169,7 +169,7 @@ if useSnappy:
 # If not available at runtime, we fall back to software in some cases.
 #
 # On zSeries we may disable because SLES 11 kernel doe not support the instructions.
-if not (env['TARGET_ARCH'] == 's390x' and get_option("use-s390x-crc32") == "off"):
+if not (env['TARGET_ARCH'] == 's390x' and get_option("use-s390x-crc32") == "off") and not (env['TARGET_ARCH'] == 'aarch64'):
     env.Append(CPPDEFINES=["HAVE_CRC32_HARDWARE"])
 
 wtlib = env.Library(