If the host compiler is MSVC or clang-cl, then the compiler used to
buidl the runtimes will be clang-cl, and it doesn't support either of
those flags.
Worse, because -isystem is a space separated flag, it causes all cmake
try_compile tests to fail, so none of the -Wno-* flags make it to the
compiler in libcxx. I noticed that we weren't passing
-Wno-user-defined-literals to clang-cl and were getting warnings in the
build, and this fixes that for me.
Doesn't the runtimes build system support cross compiling runtimes? (I don't use it myself as I need to build a number of other components between building the compiler and building the llvm provided runtimes, but afaik it's possible.) In that case, the logic for deducing things from the host compiler wouldn't apply...