[konan.properties] Make gccToolchain a target property

Previously, we used the same gccToolchain for all linux-based targets. It is dangerous because sysroot and toolchain might be incompatible. Since c82b843e we moved to unified and reproducible way to build toolchains, so we have a separate gccToolchain for each target.
This commit is contained in:
Sergey Bogolepov
2020-11-30 17:21:34 +07:00
committed by Stanislav Erokhin
parent b68a934d88
commit 55b1e0faf0
2 changed files with 9 additions and 3 deletions
@@ -75,7 +75,7 @@ interface AppleConfigurables : Configurables, ClangFlags {
interface MingwConfigurables : TargetableConfigurables, ClangFlags
interface GccConfigurables : TargetableConfigurables, ClangFlags {
val gccToolchain get() = hostString("gccToolchain")
val gccToolchain get() = targetString("gccToolchain")
val absoluteGccToolchain get() = absolute(gccToolchain)
val libGcc get() = targetString("libGcc")!!