mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
waf:lib/replace: fix a build error with non-gcc compilers
3a175830e579ab10231439657b23733338cd5634 added that variable which should have been an empty initialization here. -Wno-format-zero-length (which might be unsupported by the compiler) should not be set if we really only want to initialize the cflags. Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
7643ee2ea8
commit
121db8c08f
@ -857,7 +857,7 @@ def build(bld):
|
||||
private_library=True,
|
||||
deps='crypt dl nsl socket rt attr' + extra_libs)
|
||||
|
||||
replace_test_cflags="-Wno-format-zero-length"
|
||||
replace_test_cflags = ''
|
||||
if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
|
||||
replace_test_cflags += " -Wno-format-truncation"
|
||||
bld.SAMBA_SUBSYSTEM('replace-test',
|
||||
|
Loading…
x
Reference in New Issue
Block a user