[PATCH] D26557: [sanitizer] Max out allowed macOS deployment targets to 10.9
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 10:37:38 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL286859: [sanitizer] Max out allowed macOS deployment targets to 10.9 (authored by kuba.brecka).
Changed prior to commit:
https://reviews.llvm.org/D26557?vs=77652&id=77836#toc
Repository:
rL LLVM
https://reviews.llvm.org/D26557
Files:
compiler-rt/trunk/cmake/config-ix.cmake
Index: compiler-rt/trunk/cmake/config-ix.cmake
===================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake
+++ compiler-rt/trunk/cmake/config-ix.cmake
@@ -217,7 +217,11 @@
set(SANITIZER_MIN_OSX_VERSION 10.9)
endif()
if(SANITIZER_MIN_OSX_VERSION VERSION_LESS "10.7")
- message(FATAL_ERROR "Too old OS X version: ${SANITIZER_MIN_OSX_VERSION}")
+ message(FATAL_ERROR "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too old.")
+ endif()
+ if(SANITIZER_MIN_OSX_VERSION VERSION_GREATER "10.9")
+ message(WARNING "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too new, setting to '10.9' instead.")
+ set(SANITIZER_MIN_OSX_VERSION 10.9)
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26557.77836.patch
Type: text/x-patch
Size: 773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161114/83073a0e/attachment.bin>
More information about the llvm-commits
mailing list