summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2021-09-16 12:45:32 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-16 20:21:03 +0000
commit8ea70d9b2ce06759735b99c45aef9c5a39f8a94c (patch)
tree5a9f1f5fc8fb427168ba6793cb4cc9c0aa563b09 /src/third_party
parente6e2ac6db50fd2367ab2c1692bac353c54a37145 (diff)
downloadmongo-8ea70d9b2ce06759735b99c45aef9c5a39f8a94c.tar.gz
SERVER-59233 Don't apply clang/gcc warning suppressions on Windows
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/benchmark/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/benchmark/SConscript b/src/third_party/benchmark/SConscript
index dbbcb5fef3f..8b2feb693c0 100644
--- a/src/third_party/benchmark/SConscript
+++ b/src/third_party/benchmark/SConscript
@@ -14,7 +14,7 @@ if env.TargetOSIs('windows'):
env.Append(
CPPDEFINES=["HAVE_STD_REGEX"],
- CXXFLAGS=[
+ CXXFLAGS=[] if env.TargetOSIs('windows') else [
# TODO(SERVER-59996): Fix warnings with -Wstringop-truncation when possible
'-Wno-unknown-warning-option',
'-Wno-stringop-truncation',