[compiler-rt] r248944 - [CMake] [Darwin] [macho_embedded] Specify the version min explicitly.
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 14:09:23 PDT 2015
Author: cbieneman
Date: Wed Sep 30 16:09:23 2015
New Revision: 248944
URL: http://llvm.org/viewvc/llvm-project?rev=248944&view=rev
Log:
[CMake] [Darwin] [macho_embedded] Specify the version min explicitly.
We need to set the OS X deployment target on the macho_embedded libraries to match the outputs from the autoconf build system.
Modified:
compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
Modified: compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake?rev=248944&r1=248943&r2=248944&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake Wed Sep 30 16:09:23 2015
@@ -376,6 +376,7 @@ function(darwin_add_embedded_builtin_lib
string(TOLOWER "${float_type}_${type}" lib_suffix)
foreach(arch ${DARWIN_${float_type}_FLOAT_ARCHS})
set(DARWIN_macho_embedded_SYSROOT ${DARWIN_osx_SYSROOT})
+ set(DARWIN_macho_embedded_BUILTIN_MIN_VER_FLAG ${DARWIN_osx_BUILTIN_MIN_VER_FLAG})
if(${arch} MATCHES "^arm")
set(DARWIN_macho_embedded_SYSROOT ${DARWIN_ios_SYSROOT})
endif()
More information about the llvm-commits
mailing list