summaryrefslogtreecommitdiffstats
path: root/autowaf.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 03:18:03 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 03:18:03 +0000
commit0843cc34a354fd0e8e30569c44fb6b7cf1ba452f (patch)
treef47a73a8986b2494e58cf5c55ee22b670311a57a /autowaf.py
parent0fc3d85820e8c0f6907f6f7922317ad3db86eb3b (diff)
downloadautowaf-0843cc34a354fd0e8e30569c44fb6b7cf1ba452f.tar.gz
autowaf-0843cc34a354fd0e8e30569c44fb6b7cf1ba452f.tar.bz2
autowaf-0843cc34a354fd0e8e30569c44fb6b7cf1ba452f.zip
Add -Wcast-qual when --ultra-strict is on.
git-svn-id: http://svn.drobilla.net/autowaf@94 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa
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'])