git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wfabuild: fix the -errwarn compile flag test
[obnox/samba/samba-obnox.git]
/
lib
/
replace
/
wscript
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index c21a8f87e9de77db14abda77000fd95547d61ed3..7c2d5191d79157e61d377e455f676600d043731d 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-54,7
+54,7
@@
struct foo bar = { .y = 'X', .x = 1 };
break
# Try to find the right extra flags for -Werror behaviour
- for f in ["-Werror", "-w2", "-errwarn"]:
+ for f in ["-Werror", "-w2", "-errwarn
=%all
"]:
if conf.CHECK_CFLAGS([f], '''
'''):
if not 'WERROR_CFLAGS' in conf.env: