diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-06-26 16:58:01 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-06-26 18:17:30 -0400 |
commit | 0b4c3c7b54db0cc7ee04f4c95a18e4b9bb35c2ec (patch) | |
tree | f6273bee8f611999741090d9f75b0ef337c5f10d /SConstruct | |
parent | ce22d7ea21ad0f529b0dbb4e0b9264d1a68637ff (diff) | |
download | mongo-0b4c3c7b54db0cc7ee04f4c95a18e4b9bb35c2ec.tar.gz |
SERVER-19164 Enable /bigobj for Windows debug/no-opt builds
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 85db3412585..2a7ee4614ad 100644 --- a/SConstruct +++ b/SConstruct @@ -1182,6 +1182,9 @@ elif env.TargetOSIs('windows'): # without having been initialized (implies /Od: no optimizations) env.Append( CCFLAGS=["/RTC1"] ) + # Support large object files since some unit-test sources contain a lot of code + env.Append( CCFLAGS=["/bigobj"] ) + # This gives 32-bit programs 4 GB of user address space in WOW64, ignored in 64-bit builds env.Append( LINKFLAGS=["/LARGEADDRESSAWARE"] ) |