waf: fix WERROR_CFLAGS check
authorBjörn Jacke <bj@sernet.de>
Sat, 9 Feb 2019 00:33:13 +0000 (01:33 +0100)
committerBjoern Jacke <bjacke@samba.org>
Sun, 17 Feb 2019 12:33:14 +0000 (13:33 +0100)
commitdecba07b092791d0f17b44b9c2a595545a34d93b
treea512b246512220535feedb0dcf49cb77b5ea32e7
parent6e72fe8450d86fd6649dad7fbbc12655c36b0738
waf: fix WERROR_CFLAGS check

if we found the right WERROR flags of the compiler then the compiler is right
to fail because we explicitly give it an empty file to compile. We
should not do that because that makes the almost successful test fail.
This fixed the studio compiler test.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/wscript