build: make clang using gcc toolchain on Linux
also fix Mac build failure related to 'ar'
This commit is contained in:
committed by
SvyatoslavScherbina
parent
bee2a76008
commit
66bd698270
Vendored
+8
-3
@@ -78,9 +78,14 @@ task llvm(type: TgzNativeDep) {
|
||||
baseName = "clang+llvm-3.8.0-$target"
|
||||
}
|
||||
|
||||
task sysroot(type: TgzNativeDep) {
|
||||
String version = (target == 'linux-x86-64') ? '2' : '1'
|
||||
baseName = "target-sysroot-$version-$target"
|
||||
if (isLinux()) {
|
||||
task gccToolchain(type: TgzNativeDep) {
|
||||
baseName = "target-gcc-toolchain-3-$target"
|
||||
}
|
||||
} else {
|
||||
task sysroot(type: TgzNativeDep) {
|
||||
baseName = "target-sysroot-1-$target"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user