git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5169204
)
wafbuild: reorder the Werror checks so that the ambigous w2 option is being checked...
author
Björn Jacke
<bj@sernet.de>
Tue, 30 Oct 2012 10:48:25 +0000
(11:48 +0100)
committer
Bjoern Jacke
<bj@sernet.de>
Tue, 30 Oct 2012 12:18:50 +0000
(13:18 +0100)
lib/replace/wscript
patch
|
blob
|
history
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index 8d97f5b234eb8a2b12aeeb3dec38fdbe78391fba..9a6be208de7231559b0168acbe1380e2b034558b 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-54,7
+54,11
@@
struct foo bar = { .y = 'X', .x = 1 };
break
# Try to find the right extra flags for -Werror behaviour
- for f in ["-Werror", "-w2", "-errwarn=%all", "-qhalt=w"]:
+ for f in ["-Werror", # GCC
+ "-errwarn=%all", # Sun Studio
+ "-qhalt=w", # IBM xlc
+ "-w2", # Tru64
+ ]:
if conf.CHECK_CFLAGS([f], '''
'''):
if not 'WERROR_CFLAGS' in conf.env: