Hahnfeld added a comment. As said on https://reviews.llvm.org/D53250 I think this is the right way to fix these tests: We already do the same for `-stdlib=platform` and `-rtlib=platform`. Repository: rC Clang https://reviews.llvm.org/D53249