[CMake] Avoid accidental C++ standard library dependency in sanitizers
While sanitizers don't use C++ standard library, we could still end up accidentally including or linking it just by the virtue of using the C++ compiler. Pass -nostdinc++ and -nostdlib++ to avoid these accidental dependencies. Reviewed By: smeenai, vitalybuka Differential Revision: https://reviews.llvm.org/D88922
Loading
Please sign in to comment