From 9179a962a812d5c86d2d125d71dbf9c7a0f7dd96 Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Tue, 21 Feb 2017 17:58:06 +0300 Subject: [PATCH] Produce binaries for 10.10 as minimal MacOs version. --- build.gradle | 2 +- gradle.properties | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index e423a4cf8b3..9b1a89fd284 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ allprojects { } else { ext.targetArgs << ["host": - ["--sysroot=$hostSysrootDir"], + ["--sysroot=$hostSysrootDir", "-mmacosx-version-min=$minMacOsVersion"], "iphone": ["-stdlib=libc++", "-arch", "arm64", "-isysroot", "$iphoneSysrootDir"], // TODO: re-enable after simulator sysroot is available in the dependencies diff --git a/gradle.properties b/gradle.properties index c200f5373e4..85c982c0eff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,5 @@ kotlin_version=1.1-M03 llvmVersion = 3.9.0 +minMacOsVersion = 10.10 #kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-SNAPSHOT -kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170217.175209-427 \ No newline at end of file +kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170217.175209-427