Not quite sure why this change works, but it is inline with the behaviour of other buildbots.
This change was prompted due to making -DLLVM_FLANG_NEW_DRIVER=on as default, which required clang to be part of the -DLLVM_ENABLE_PROJECTS. However, adding that causes flang to not be built (even though flang is also part of that flag). all also doesn't seem to build flang, even though flang is part of the definition in CMakeLists.txt.