A hack to build on FreeBSD i386.
This commit is contained in:
@@ -168,7 +168,9 @@ binaries.withType(SharedLibraryBinary) { binary ->
|
|||||||
if (!buildable) {
|
if (!buildable) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (targetPlatform.operatingSystem.name in ['linux', 'freebsd'] && targetPlatform.architecture.name != System.properties['os.arch']) {
|
def arch = System.properties['os.arch']
|
||||||
|
if (arch == 'hack') { arch = 'i386' }
|
||||||
|
if (targetPlatform.operatingSystem.name in ['linux', 'freebsd'] && targetPlatform.architecture.name != arch) {
|
||||||
// Native plugins don't detect whether multilib support is available or not. Assume not for now
|
// Native plugins don't detect whether multilib support is available or not. Assume not for now
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user