diff options
Diffstat (limited to 'src/third_party/pcre-8.42')
-rw-r--r-- | src/third_party/pcre-8.42/SConscript | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/third_party/pcre-8.42/SConscript b/src/third_party/pcre-8.42/SConscript index 503a2f84488..71cc36ea5c5 100644 --- a/src/third_party/pcre-8.42/SConscript +++ b/src/third_party/pcre-8.42/SConscript @@ -6,15 +6,13 @@ 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 ['-Wall', '-W']: +for to_remove in ['-Werror', '-Wall', '-W']: removeIfPresent(env['CCFLAGS'], to_remove) # Directories that include generated config.h for various platforms |