heimdal_build: Rework Heimdal warning handling
commit4be71c7a0594fd54fbf6949df49973cd4f9eabe8
authorAndrew Bartlett <abartlet@samba.org>
Sun, 13 Jun 2021 23:14:06 +0000 (14 11:14 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jun 2021 22:41:34 +0000 (15 22:41 +0000)
treed145f75a07ce9c29fb0685330986cd2729951bb2
parent7d0b6904cc4d5e66860f0f851ca1ccf539423c9d
heimdal_build: Rework Heimdal warning handling

If we have all the right -Wno-error flags then we can enable warnings
more generally, otherwise just set -Wno-strict-overflow (if available)

Adapted from patches by Stefan Metzmacher <metze@samba.org> in his
branch to update Heimdal.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/heimdal_build/wscript_build
source4/heimdal_build/wscript_configure