From b099fd4ba8c01742ae367979531e6774f0ff19c7 Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Mon, 2 Apr 2012 10:47:30 -0400 Subject: SERVER-3331: Changes to the client SConstruct to improve windows building. --- distsrc/client/SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'distsrc') 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' -- cgit v1.2.1