freebsd-ports/databases/mongodb34/files/patch-src_third__party_wiredtiger_SConscript
Steve Wills 5d888fc1d7 databases/mongodb34: add support for aarch64
PR:		229602
Submitted by:	Ronald Klop <ronald-lists@klop.ws>
Approved by:	maintainer timeout (eric@camachat.org, > 2 weeks)
2018-07-24 20:03:01 +00:00

11 lines
594 B
Text

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