[sanitizer] Add macOS minimum deployment target to all compiler invocations in lit...
authorKuba Mracek <mracek@apple.com>
Tue, 29 Nov 2016 19:25:53 +0000 (19:25 +0000)
committerKuba Mracek <mracek@apple.com>
Tue, 29 Nov 2016 19:25:53 +0000 (19:25 +0000)
commitff1bd20ded4dced833a5268a6a40b27cf065d907
tree83da8dd7f1a0e8116ee4ef3f153ab9352d98cea9
parentf96eeec0057c8535be809d324be22ccb690345bb
[sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests

The Clang driver on macOS decides the deployment target based on various things, like your host OS version, the SDK version and some environment variables, which makes lit tests pass or fail based on your environment. Let's make sure we run all lit tests with `-mmacosx-version-min=${SANITIZER_MIN_OSX_VERSION}` (10.9 unless overriden).

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

llvm-svn: 288186
compiler-rt/cmake/config-ix.cmake
compiler-rt/test/asan/CMakeLists.txt
compiler-rt/test/dfsan/CMakeLists.txt
compiler-rt/test/lsan/CMakeLists.txt
compiler-rt/test/msan/CMakeLists.txt
compiler-rt/test/profile/CMakeLists.txt
compiler-rt/test/sanitizer_common/CMakeLists.txt
compiler-rt/test/tsan/CMakeLists.txt
compiler-rt/test/ubsan/CMakeLists.txt
compiler-rt/test/xray/CMakeLists.txt