build: don't use gcc warnings during configure
[idra/samba.git] / lib / replace / wscript
index ef6b4237cc7c22b7e13a34aecb2fc5de16ec7513..fa0e40d21a4a34570d721edc63827d700bff1952 100644 (file)
@@ -242,9 +242,6 @@ def configure(conf):
     if Options.options.pedantic:
        conf.ADD_CFLAGS('-W')
 
-    if Options.options.developer:
-        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()