thakis added a comment. I'm not sure this does the right thing in a multi-toolchain setup. It seems to do the trick in normal macOS builds though. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62508/new/ https://reviews.llvm.org/D62508