diff options
author | Chris Bieneman <beanz@apple.com> | 2015-09-30 21:09:23 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2015-09-30 21:09:23 +0000 |
commit | 444459d962bc5feb84f1192861acc6ec37c117df (patch) | |
tree | d1273c3107163ed51807f9ccc47563b4049373b5 /cmake/Modules/CompilerRTDarwinUtils.cmake | |
parent | d05c45097aa55e83129ca488289fbf825960db7a (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/Modules/CompilerRTDarwinUtils.cmake')
-rw-r--r-- | cmake/Modules/CompilerRTDarwinUtils.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/Modules/CompilerRTDarwinUtils.cmake b/cmake/Modules/CompilerRTDarwinUtils.cmake index e2fe795ac..86c45429b 100644 --- a/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -376,6 +376,7 @@ function(darwin_add_embedded_builtin_libraries) 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() |