[sanitizer] Passthrough CMAKE_OSX_DEPLOYMENT_TARGET when building compiler-rt from...
authorKuba Brecka <kuba.brecka@gmail.com>
Mon, 14 Nov 2016 22:38:57 +0000 (22:38 +0000)
committerKuba Brecka <kuba.brecka@gmail.com>
Mon, 14 Nov 2016 22:38:57 +0000 (22:38 +0000)
commit2ef126f3b06d5680aa7cd37fdc59e2b36ac2bd4a
treec338a80c25a8393e4564c666614e3a7c0606c694
parentcb2e39047d0d60947d30ac8fc39b5c758d175522
[sanitizer] Passthrough CMAKE_OSX_DEPLOYMENT_TARGET when building compiler-rt from clang/runtime/CMakeLists.txt

This breaks some Swift builds, because Swift's build scripts explicitly set CMAKE_OSX_DEPLOYMENT_TARGET. This however isn't propagated to the compiler-rt build, causing build errors.

Differential Revision: https://reviews.llvm.org/D26558

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286898 91177308-0d34-0410-b5e6-96231b3b80d8
runtime/CMakeLists.txt