[PATCH] D37027: Fix cmake check for futimens when deploying to earlier macOS releases.
Juergen Ributzka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 28 16:06:01 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL311949: Fix cmake check for futimens when deploying to earlier macOS releases. (authored by ributzka).
Changed prior to commit:
https://reviews.llvm.org/D37027?vs=112226&id=112984#toc
Repository:
rL LLVM
https://reviews.llvm.org/D37027
Files:
llvm/trunk/cmake/config-ix.cmake
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Index: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
@@ -383,6 +383,7 @@
append_if(LLVM_ENABLE_WERROR "-Werror" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
append_if(LLVM_ENABLE_WERROR "-Wno-error" CMAKE_REQUIRED_FLAGS)
add_flag_if_supported("-Werror=date-time" WERROR_DATE_TIME)
+ add_flag_if_supported("-Werror=unguarded-availability-new" WERROR_UNGUARDED_AVAILABILITY_NEW)
if (LLVM_ENABLE_CXX1Y)
check_cxx_compiler_flag("-std=c++1y" CXX_SUPPORTS_CXX1Y)
append_if(CXX_SUPPORTS_CXX1Y "-std=c++1y" CMAKE_CXX_FLAGS)
Index: llvm/trunk/cmake/config-ix.cmake
===================================================================
--- llvm/trunk/cmake/config-ix.cmake
+++ llvm/trunk/cmake/config-ix.cmake
@@ -13,6 +13,7 @@
include(CheckCompilerVersion)
include(HandleLLVMStdlib)
+include(HandleLLVMOptions)
if( UNIX AND NOT (BEOS OR HAIKU) )
# Used by check_symbol_exists:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37027.112984.patch
Type: text/x-patch
Size: 1062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170828/f293e848/attachment.bin>
More information about the llvm-commits
mailing list