summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2023-04-28 14:51:21 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-28 18:04:15 +0000
commit5d51cb10e94b50ba2290664748e07d66507a4a22 (patch)
tree6f59a17605aa57b47522d3ec6862fe93eaabd18b /SConstruct
parent1ef91934ee3d8ae22b3b8b51d21a7182b83c13ac (diff)
downloadmongo-5d51cb10e94b50ba2290664748e07d66507a4a22.tar.gz
SERVER-76472 compile with -Wno-psabi
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index e6ca1f3e766..fd7c1eff08b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -3667,6 +3667,9 @@ def doConfigure(myenv):
# Don't issue warnings about potentially evaluated expressions
myenv.AddToCCFLAGSIfSupported("-Wno-potentially-evaluated-expression")
+ # SERVER-76472 we don't try to maintain ABI so disable warnings about possible ABI issues.
+ myenv.AddToCCFLAGSIfSupported("-Wno-psabi")
+
# Warn about moves of prvalues, which can inhibit copy elision.
myenv.AddToCXXFLAGSIfSupported("-Wpessimizing-move")