summaryrefslogtreecommitdiff
path: root/src/third_party/pcre-8.42/SConscript
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2021-03-17 15:48:11 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-24 22:46:36 +0000
commit609d174c95fdfbc0193e1d7e8804ef20a04f99e1 (patch)
tree3f695989ff24d2208556198bc25e6c541fb00081 /src/third_party/pcre-8.42/SConscript
parentd1a5db3e68e5c44e00d40505e41758c035f6fbbc (diff)
downloadmongo-609d174c95fdfbc0193e1d7e8804ef20a04f99e1.tar.gz
SERVER-54695 Disabling warnings as errors should not apply to configure checks by default
Diffstat (limited to 'src/third_party/pcre-8.42/SConscript')
-rw-r--r--src/third_party/pcre-8.42/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/third_party/pcre-8.42/SConscript b/src/third_party/pcre-8.42/SConscript
index 71cc36ea5c5..503a2f84488 100644
--- a/src/third_party/pcre-8.42/SConscript
+++ b/src/third_party/pcre-8.42/SConscript
@@ -6,13 +6,15 @@ env = env.Clone()
env.Append( CPPDEFINES=[ "HAVE_CONFIG_H", ] )
+env['WERROR_CCFLAGS'] = []
+
def removeIfPresent(lst, item):
try:
lst.remove(item)
except ValueError:
pass
-for to_remove in ['-Werror', '-Wall', '-W']:
+for to_remove in ['-Wall', '-W']:
removeIfPresent(env['CCFLAGS'], to_remove)
# Directories that include generated config.h for various platforms