summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2015-12-10 15:46:38 -0500
committerMike Grundy <michael.grundy@10gen.com>2015-12-10 15:46:38 -0500
commit4aa5a6c94b7bcc3d38949863c3b08805472a7147 (patch)
tree2a5c4c6743c31aa23aabcf4bcbabe23a43cea557 /SConstruct
parent9ba880ed3de726e69053b4fb0ecf7de3bb603dc1 (diff)
downloadmongo-4aa5a6c94b7bcc3d38949863c3b08805472a7147.tar.gz
SERVER-21598 Code coverage compile options aren't passed to wired tiger
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 64c838757ed..c325ce14867 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1408,8 +1408,8 @@ if env.TargetOSIs('posix'):
pass
if env.TargetOSIs('linux') and has_option( "gcov" ):
- env.Append( CXXFLAGS=" -fprofile-arcs -ftest-coverage " )
- env.Append( LINKFLAGS=" -fprofile-arcs -ftest-coverage " )
+ env.Append( CCFLAGS=["-fprofile-arcs", "-ftest-coverage"] )
+ env.Append( LINKFLAGS=["-fprofile-arcs", "-ftest-coverage"] )
if optBuild:
env.Append( CCFLAGS=["-O2"] )