summaryrefslogtreecommitdiffstats
path: root/autowaf.py
diff options
context:
space:
mode:
Diffstat (limited to 'autowaf.py')
-rw-r--r--autowaf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/autowaf.py b/autowaf.py
index 412240e..f33cb45 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -247,7 +247,9 @@ def configure(conf):
Options.options.strict = True
conf.env.append_value('CFLAGS', ['-Wredundant-decls',
'-Wstrict-prototypes',
- '-Wmissing-prototypes'])
+ '-Wmissing-prototypes',
+ '-Wcast-qual'])
+ conf.env.append_value('CXXFLAGS', ['-Wcast-qual'])
if Options.options.strict:
conf.env.append_value('CFLAGS', ['-pedantic', '-Wshadow'])