diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-07-26 11:10:59 -0400 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2018-11-01 16:10:55 +1100 |
commit | bdaeb060c31329ee5163782968e742d2e6644abd (patch) | |
tree | eeca6bdd77bb6b495b706262f3298f36dcc12fc5 /src | |
parent | 681588bf1a442979d5a4b32bc6f519428e2f3235 (diff) | |
download | mongo-bdaeb060c31329ee5163782968e742d2e6644abd.tar.gz |
SERVER-36301 build WT with HAVE_NO_CRC32_HARDWARE on RHEL 6.7 s390x
(cherry picked from commit 2be874cd1608b343233fbcf5aafb3b759d75c5d6)
(cherry picked from commit fc9489f7ff5ecbcdaf4ccf315d7504b98822736d)
Diffstat (limited to 'src')
-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 4e1335499fd..4695018735c 100644 --- a/src/third_party/wiredtiger/SConscript +++ b/src/third_party/wiredtiger/SConscript @@ -163,10 +163,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"]) wtlib = env.Library( target="wiredtiger", |