summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-12-15 10:37:21 -0500
committerAndrew Morrow <acm@mongodb.com>2016-12-19 09:25:22 -0500
commit6c900f92522959ed584d0f6a52c837f9f296efcc (patch)
tree6dfce68a2423b7def0eb9da5715f2cf27ea9fac5 /src/third_party
parentf3d3087a9f5c900cca6b9f69b7c07b69f69fb1d9 (diff)
downloadmongo-6c900f92522959ed584d0f6a52c837f9f296efcc.tar.gz
SERVER-27431 Allow UBSAN to check for misalignment in WT
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/wiredtiger/SConscript6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index 5d367062543..8334ac0df5f 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -12,12 +12,6 @@ env.InjectThirdPartyIncludePaths(libraries=['snappy', 'zlib'])
if endian == "big":
env.Append(CPPDEFINES=[('WORDS_BIGENDIAN', 1)])
-# WiredTiger is not currently alignment clean; see
-# https://jira.mongodb.org/browse/WT-2402.
-sanitizer_list = get_option('sanitize')
-if sanitizer_list and ('undefined' in sanitizer_list.split(',')):
- env.Append(CCFLAGS=["-fno-sanitize=alignment"])
-
env.Append(CPPPATH=[
"src/include",
])