mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
build: avoid -Wtautological-compare errors from gcc6+ by disabling it globally
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 15 04:31:27 CEST 2016 on sn-devel-144
This commit is contained in:
parent
a751b978a8
commit
a6ee401949
@ -725,6 +725,7 @@ int main(void) {
|
||||
|
||||
if Options.options.picky_developer:
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Werror -Wno-error=deprecated-declarations', testflags=True)
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=tautological-compare', testflags=True)
|
||||
|
||||
if Options.options.fatal_errors:
|
||||
conf.ADD_CFLAGS('-Wfatal-errors', testflags=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user