summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2021-10-18 14:46:32 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-22 10:22:18 +0000
commitbc2ae9aa30c2b3fff3471687678752bb01000113 (patch)
tree967193881d6a168e6efb39683cbfaa0236e371ec /SConstruct
parent73d9915e678306c357c9bdfa3e3fd949face360f (diff)
downloadmongo-bc2ae9aa30c2b3fff3471687678752bb01000113.tar.gz
SERVER-60787 Force alignment with std::aligned_storage not inheritance
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 6 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index fafda675b84..db86ae11ddf 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2193,7 +2193,12 @@ elif env.TargetOSIs('windows'):
# object called lock on the stack.
env.Append( CCFLAGS=["/we4013", "/we4099", "/we4930"] )
- env.Append( CPPDEFINES=["_CONSOLE","_CRT_SECURE_NO_WARNINGS", "_SCL_SECURE_NO_WARNINGS"] )
+ env.Append(CPPDEFINES=[
+ "_CONSOLE",
+ "_CRT_SECURE_NO_WARNINGS",
+ "_ENABLE_EXTENDED_ALIGNED_STORAGE",
+ "_SCL_SECURE_NO_WARNINGS",
+ ])
# this would be for pre-compiled headers, could play with it later
#env.Append( CCFLAGS=['/Yu"pch.h"'] )