[PATCH] D26558: [sanitizer] Passthrough CMAKE_OSX_DEPLOYMENT_TARGET when building compiler-rt from clang/runtime/CMakeLists.txt

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 15:31:17 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL289890: [sanitizer] Passthrough CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT when… (authored by kuba.brecka).

Changed prior to commit:
  https://reviews.llvm.org/D26558?vs=79250&id=81676#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26558

Files:
  cfe/trunk/runtime/CMakeLists.txt


Index: cfe/trunk/runtime/CMakeLists.txt
===================================================================
--- cfe/trunk/runtime/CMakeLists.txt
+++ cfe/trunk/runtime/CMakeLists.txt
@@ -78,6 +78,7 @@
                -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
                -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX}
                -DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}
+               -DCMAKE_OSX_SYSROOT:PATH=${CMAKE_OSX_SYSROOT}
                ${COMPILER_RT_PASSTHROUGH_VARIABLES}
     INSTALL_COMMAND ""
     STEP_TARGETS configure build


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26558.81676.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161215/a87c8779/attachment.bin>


More information about the llvm-commits mailing list