llvm-project/compiler-rt/cmake
Julian Lettner ff756f5231 [compiler-rt][Darwin] Fix linker errors for check-asan
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] 8b2fcc42b8, https://reviews.llvm.org/D84466

Differential Revision: https://reviews.llvm.org/D85057
2020-07-31 16:43:21 -07:00
..
Modules [compiler-rt][Darwin] Fix linker errors for check-asan 2020-07-31 16:43:21 -07:00
caches
base-config-ix.cmake Revert "[compiler-rt][Android] Stop using detect_target_arch" 2020-07-14 15:05:26 -07:00
builtin-config-ix.cmake [compiler-rt] Add support for arm64 macOS 2020-06-25 16:44:36 -07:00
config-ix.cmake [compiler-rt][cmake] Don't pass --version-script to Illumos ld 2020-07-28 13:21:36 +02:00