diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-07-26 11:10:59 -0400 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-08-01 14:31:31 -0400 |
commit | 2be874cd1608b343233fbcf5aafb3b759d75c5d6 (patch) | |
tree | 73b8eecc99f14ffb83163bc98f1b5d12eaed4024 | |
parent | 0713f5f35754a5c443450cef960f5d4c5845a725 (diff) | |
download | mongo-2be874cd1608b343233fbcf5aafb3b759d75c5d6.tar.gz |
SERVER-36301 build WT with HAVE_NO_CRC32_HARDWARE on RHEL 6.7 s390x
-rw-r--r-- | src/third_party/wiredtiger/SConscript | 6 |
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", |