opnsense-ports/databases/mongodb34/files/patch-src_third__party_wire...

12 lines
594 B
Plaintext

--- 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(