build: don't use -W warning option for developer build
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Mar 2010 05:26:12 +0000 (16:26 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:51 +0000 (20:26 +1000)
lib/replace/wscript

index 8df9c74a81d0be7fa720025c2ae2b1274d8e918f..5fd7027141d374ce4d6b6ec969bd5158e2a6a167 100644 (file)
@@ -210,7 +210,7 @@ def configure(conf):
                     msg="Checking for C99 vsnprintf")
 
     if Options.options.developer:
-        conf.ADD_CFLAGS('-Wall -g -Wfatal-errors -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k')
+        conf.ADD_CFLAGS('-Wall -g -Wfatal-errors -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k')
 
     conf.SAMBA_CONFIG_H()
     conf.SAMBA_BUILD_ENV()