wscript: added -Wall -Wextra flags
authorPaul Brossier <piem@piem.org>
Sun, 15 Jul 2012 22:30:10 +0000 (16:30 -0600)
committerPaul Brossier <piem@piem.org>
Sun, 15 Jul 2012 22:30:10 +0000 (16:30 -0600)
wscript

diff --git a/wscript b/wscript
index a00a5fc81de83dae183fbd53f9272ee8c098cb7f..bf39701b3146aa5d1400b9246ce1eba7d9d0758f 100644 (file)
--- a/wscript
+++ b/wscript
@@ -60,7 +60,7 @@ def configure(ctx):
   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