forked from OSchip/llvm-project
ff756f5231
A recent change broke `ninja check-asan` on Darwin by causing an error
during linking of ASan unit tests [1].
Move the addition of `-ObjC` compiler flag outside of the new
`if(COMPILER_RT_STANDALONE_BUILD)` block. It doesn't add any global
flags (e.g, `${CMAKE_CXX_FLAGS}`) and the decision to add is based
solely on source paths (`${source_rpath}`).
[1]
|
||
---|---|---|
.. | ||
CustomLibcxx | ||
AddCompilerRT.cmake | ||
BuiltinTests.cmake | ||
CompilerRTCompile.cmake | ||
CompilerRTDarwinUtils.cmake | ||
CompilerRTLink.cmake | ||
CompilerRTUtils.cmake | ||
HandleCompilerRT.cmake | ||
SanitizerUtils.cmake | ||
UseLibtool.cmake |