diff options
author | Björn Jacke <bj@sernet.de> | 2012-10-30 11:32:52 +0100 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-10-30 13:18:50 +0100 |
commit | 0342ca40629d5a57db02c7f840809dfa0bde6780 (patch) | |
tree | 459c92c3d1ae60614fe27e9c9b179677b4a2d900 /lib/replace/wscript | |
parent | a3a1cd4797c99cb5fd0234c2dfe40e5dcafb05f8 (diff) | |
download | samba-0342ca40629d5a57db02c7f840809dfa0bde6780.tar.gz samba-0342ca40629d5a57db02c7f840809dfa0bde6780.tar.bz2 samba-0342ca40629d5a57db02c7f840809dfa0bde6780.zip |
wfabuild: fix the -errwarn compile flag test
as in the autoconf build this must be "-errwarn=%all"
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r-- | lib/replace/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index c21a8f87e9..7c2d5191d7 100644 --- 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: |