build: in SAMBA_BINARY use TO_LIST(cflags)
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Nov 2019 15:11:41 +0000 (16:11 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jun 2021 22:41:34 +0000 (22:41 +0000)
commit59eac15a4ff17cdb52b2b28b120e3fee4b085b68
treec2d24f63e5c2955d2cf2a5b3ead27e0420a9c691
parentd62917d3d7eeb9c5782d7230a4012b5a9235154f
build: in SAMBA_BINARY use TO_LIST(cflags)

This avoids unfortunate issues when the cflags is
already a list, as then -fPIC becomes ['-f', 'P', 'I', 'C'].

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/wafsamba.py