summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2019-01-30 16:52:07 -0500
committerHenrik Edin <henrik.edin@mongodb.com>2019-02-01 17:06:10 -0500
commit66430d75e33827da60195deb317058c71f75e03f (patch)
tree8ca6fcca749a630afca95415638052ed429d2e70 /site_scons
parent2dc3359cfe83cafa0f450a0dc7e2815f48ad08b4 (diff)
downloadmongo-66430d75e33827da60195deb317058c71f75e03f.tar.gz
SERVER-38176 Compile with /permissive- on MSVC to make the compiler strictly standard conformant.
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/mongo_benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/site_tools/mongo_benchmark.py b/site_scons/site_tools/mongo_benchmark.py
index b2a1750e3d2..2064516aa1f 100644
--- a/site_scons/site_tools/mongo_benchmark.py
+++ b/site_scons/site_tools/mongo_benchmark.py
@@ -22,7 +22,7 @@ def benchmark_list_builder_action(env, target, source):
def build_benchmark(env, target, source, **kwargs):
bmEnv = env.Clone()
- bmEnv.InjectThirdPartyIncludePaths(libraries=['benchmark'])
+ bmEnv.InjectThirdParty(libraries=['benchmark'])
if bmEnv.TargetOSIs('windows'):
bmEnv.Append(LIBS=["ShLwApi.lib"])