summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorDaniel Stewart <daniel.stewart@linaro.org>2018-05-20 19:09:36 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-05-24 11:56:27 -0400
commit2a0465739025e561711180939a76a8c366c2f155 (patch)
tree9acadb6d09890edfda8c17d74bf2a13f7ff8891d /src/third_party
parent95d2fde6c8fcede7c74dc32b3b7f1ee4a9b9e349 (diff)
downloadmongo-2a0465739025e561711180939a76a8c366c2f155.tar.gz
SERVER-35201 Define HAVE_ARM_NEON_INTRIN_H flag for AArch64
closes 1246 Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/wiredtiger/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index 7dcd34a342f..c5423fdb79c 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -41,6 +41,10 @@ if env['TARGET_ARCH'] == 'x86_64' and conf.CheckCHeader('x86intrin.h'):
conf.env.Append(CPPDEFINES=[
"HAVE_X86INTRIN_H"
])
+if conf.CheckCHeader('arm_neon.h'):
+ conf.env.Append(CPPDEFINES=[
+ "HAVE_ARM_NEON_INTRIN_H"
+ ])
env = conf.Finish();
if env.TargetOSIs('windows'):