summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/SConscript
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2018-07-26 11:10:59 -0400
committerGabriel Russell <gabriel.russell@mongodb.com>2018-08-01 14:31:31 -0400
commit2be874cd1608b343233fbcf5aafb3b759d75c5d6 (patch)
tree73b8eecc99f14ffb83163bc98f1b5d12eaed4024 /src/third_party/wiredtiger/SConscript
parent0713f5f35754a5c443450cef960f5d4c5845a725 (diff)
downloadmongo-2be874cd1608b343233fbcf5aafb3b759d75c5d6.tar.gz
SERVER-36301 build WT with HAVE_NO_CRC32_HARDWARE on RHEL 6.7 s390x
Diffstat (limited to 'src/third_party/wiredtiger/SConscript')
-rw-r--r--src/third_party/wiredtiger/SConscript6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index 12cb5a81d8d..ac120d3aa1c 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -183,10 +183,8 @@ if useSnappy:
# Use hardware by default on all platforms if available.
# 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"):
- env.Append(CPPDEFINES=["HAVE_CRC32_HARDWARE"])
+if (get_option("use-s390x-crc32") == "off"):
+ env.Append(CPPDEFINES=["HAVE_NO_CRC32_HARDWARE"])
cslib = env.Library(
target="wiredtiger_checksum",