diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2015-12-10 15:46:38 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2015-12-10 15:46:38 -0500 |
commit | 4aa5a6c94b7bcc3d38949863c3b08805472a7147 (patch) | |
tree | 2a5c4c6743c31aa23aabcf4bcbabe23a43cea557 /SConstruct | |
parent | 9ba880ed3de726e69053b4fb0ecf7de3bb603dc1 (diff) | |
download | mongo-4aa5a6c94b7bcc3d38949863c3b08805472a7147.tar.gz |
SERVER-21598 Code coverage compile options aren't passed to wired tiger
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
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"] ) |