labath added a comment. So, why doesn't LLVM_ENABLE_WERROR suffice? It looks like that ought to work even in standalone builds... Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65939/new/ https://reviews.llvm.org/D65939