From 5d51cb10e94b50ba2290664748e07d66507a4a22 Mon Sep 17 00:00:00 2001 From: Daniel Moody Date: Fri, 28 Apr 2023 14:51:21 +0000 Subject: SERVER-76472 compile with -Wno-psabi --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) (limited to 'SConstruct') 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") -- cgit v1.2.1