aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index b85c4c7..30a675a 100644
--- a/wscript
+++ b/wscript
@@ -47,6 +47,9 @@ def configure(conf):
autowaf.configure(conf)
autowaf.set_c99_mode(conf)
+ if Options.options.ultra_strict:
+ conf.env.append_value('CFLAGS', ['-Wconversion'])
+
if Options.platform == 'win32' or not hasattr(os.path, 'relpath'):
Logs.warn('System does not support linking headers, copying')
Options.options.copy_headers = True