Using -nostdinc++ as a linker flag in CMake 3.26 will cause compilation
failures due to -Wunused-command-line-argument. This causes several
compiler flags to be rejected. This will cause libunwind to refuse to
build since its required flags aren't supported by the compiler.
Note CMake 3.26 has not been released yet. This has been tested with
RC5. CMake 3.26 is used to test with C++ modules in libc++.