ref: fd70e5e5113372c73cde7945107d7c7ae7f75f39
parent: 9ccd89fae4ed7a7975483fa5fd6001dc8388f826
author: Paul Brossier <piem@piem.org>
date: Sun Jul 15 12:30:10 EDT 2012
wscript: added -Wall -Wextra flags
--- a/wscript
+++ b/wscript
@@ -60,7 +60,7 @@
ctx.check_tool('compiler_c')
ctx.check_tool('gnu_dirs') # helpful for autotools transition and .pc generation
ctx.load('waf_unit_test')
- ctx.env.CFLAGS = ['-g']
+ ctx.env.CFLAGS = ['-g', '-Wall', '-Wextra']
if Options.options.target_platform:
Options.platform = Options.options.target_platform