diff options
author | Andrew Morrow <acm@mongodb.com> | 2019-03-13 13:28:38 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2019-03-14 22:56:02 -0400 |
commit | 6b706747bbc3774c98720da14ae48489cdf9593e (patch) | |
tree | 6df0cc1852f8da43e3594bf305006e8b9fbeff02 /SConstruct | |
parent | c7b6f37c5e377d11e9fae5d25e0f0e2246b04e7e (diff) | |
download | mongo-6b706747bbc3774c98720da14ae48489cdf9593e.tar.gz |
SERVER-39789 Revert to single-thread mode for profile data
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index dfce870e17e..2963b554a20 100644 --- a/SConstruct +++ b/SConstruct @@ -1877,8 +1877,8 @@ if env.TargetOSIs('posix'): pass if env.TargetOSIs('linux') and has_option( "gcov" ): - env.Append( CCFLAGS=["-fprofile-arcs", "-ftest-coverage"] ) - env.Append( LINKFLAGS=["-fprofile-arcs", "-ftest-coverage"] ) + env.Append( CCFLAGS=["-fprofile-arcs", "-ftest-coverage", "-fprofile-update=single"] ) + env.Append( LINKFLAGS=["-fprofile-arcs", "-ftest-coverage", "-fprofile-update=single"] ) if optBuild and not optBuildForSize: env.Append( CCFLAGS=["-O2"] ) |