diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-04-02 10:47:30 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-04-02 23:43:47 -0400 |
commit | b099fd4ba8c01742ae367979531e6774f0ff19c7 (patch) | |
tree | ab73dc43e8f8d6ce76e675d78b71e905fbd0c88c /distsrc | |
parent | 19d5b5bde3ec5950b78953290d93d7445c9f1016 (diff) | |
download | mongo-b099fd4ba8c01742ae367979531e6774f0ff19c7.tar.gz |
SERVER-3331: Changes to the client SConstruct to improve windows building.
Diffstat (limited to 'distsrc')
-rwxr-xr-x | distsrc/client/SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distsrc/client/SConstruct b/distsrc/client/SConstruct index 5b40f1a00aa..f8d44817bf7 100755 --- a/distsrc/client/SConstruct +++ b/distsrc/client/SConstruct @@ -53,8 +53,9 @@ elif sys.platform in ("linux2", "linux3"): nix = True linux = True -if sys.platform is 'win32': +if sys.platform == 'win32': env['DIST_ARCHIVE_SUFFIX'] = '.zip' + env.Append(CCFLAGS=['/EHsc', '/O2']) else: env['DIST_ARCHIVE_SUFFIX'] = '.tgz' |