From 5057e59fa28055511e4839efe8eacfacca75c2d3 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sun, 9 Jan 2011 18:55:54 +0200 Subject: [PATCH] wscript: enable warnings in release builds --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 7212abc7..8c357d87 100644 --- a/wscript +++ b/wscript @@ -192,8 +192,8 @@ def configure(conf): conf.check_python_headers() conf.env['BUILD_WERROR'] = not RELEASE + add_cflag(conf, '-Wall') if conf.env['BUILD_WERROR']: - add_cflag(conf, '-Wall') add_cflag(conf, '-Werror') # for pre gcc-4.4, enable optimizations so use of uninitialized variables gets detected try: