using -Werror is problematic in general, remove for all platforms fixes #97214
Currently this is set up to be mcfgthreads, but it could be something else instead.