summaryrefslogtreecommitdiff
path: root/src/third_party/tomcrypt-1.18.2/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/tomcrypt-1.18.2/SConscript')
-rw-r--r--src/third_party/tomcrypt-1.18.2/SConscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/third_party/tomcrypt-1.18.2/SConscript b/src/third_party/tomcrypt-1.18.2/SConscript
index fd5b21c9f42..e65a117983e 100644
--- a/src/third_party/tomcrypt-1.18.2/SConscript
+++ b/src/third_party/tomcrypt-1.18.2/SConscript
@@ -6,15 +6,13 @@ Import([
env = env.Clone()
-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)
env.Prepend(CPPPATH=[