diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-10-23 16:10:27 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-10-28 11:10:22 -0400 |
commit | 8f7a125ab719157863fc7fc90f783d647a75deeb (patch) | |
tree | c1a05761fd3659fd505a5c145721f335b8cde96a /src/third_party/wiredtiger/SConscript | |
parent | ac1d8c42a498c546fd4f67e19f063776c48ea00e (diff) | |
download | mongo-8f7a125ab719157863fc7fc90f783d647a75deeb.tar.gz |
SERVER-21104 WiredTiger no longer compiles on non-x86 platforms
Diffstat (limited to 'src/third_party/wiredtiger/SConscript')
-rw-r--r-- | src/third_party/wiredtiger/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript index 71fb130288e..dbff3006239 100644 --- a/src/third_party/wiredtiger/SConscript +++ b/src/third_party/wiredtiger/SConscript @@ -31,6 +31,11 @@ if conf.CheckFunc("sync_file_range"): "HAVE_SYNC_FILE_RANGE" ]) +if conf.CheckCHeader('x86intrin.h'): + env.Append(CPPDEFINES=[ + "HAVE_X86INTRIN_H" + ]) + if env.TargetOSIs('windows'): env.Append(CPPPATH=["build_win"]) env.Append(CFLAGS=[ |