1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

wfabuild: fix the -errwarn compile flag test

as in the autoconf build this must be "-errwarn=%all"
This commit is contained in:
Björn Jacke 2012-10-30 11:32:52 +01:00 committed by Bjoern Jacke
parent a3a1cd4797
commit 0342ca4062
2 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,7 @@ struct foo bar = { .y = 'X', .x = 1 };
break break
# Try to find the right extra flags for -Werror behaviour # 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 conf.CHECK_CFLAGS([f], '''
'''): '''):
if not 'WERROR_CFLAGS' in conf.env: if not 'WERROR_CFLAGS' in conf.env:

View File

@ -817,6 +817,9 @@ static const smb_socket_option socket_options[] = {
#ifdef TCP_QUICKACK #ifdef TCP_QUICKACK
{"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL}, {"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL},
#endif #endif
#ifdef TCP_FASTOPEN
{"TCP_FASTOPEN", IPPROTO_TCP, TCP_FASTOPEN, 0, OPT_BOOL},
#endif
#ifdef TCP_NODELAYACK #ifdef TCP_NODELAYACK
{"TCP_NODELAYACK", IPPROTO_TCP, TCP_NODELAYACK, 0, OPT_BOOL}, {"TCP_NODELAYACK", IPPROTO_TCP, TCP_NODELAYACK, 0, OPT_BOOL},
#endif #endif