A hack to build on FreeBSD i386.

This commit is contained in:
Adam Murdoch
2014-03-15 16:20:10 +11:00
parent 01a52081bb
commit b5f5cb2339

View File

@@ -168,7 +168,9 @@ binaries.withType(SharedLibraryBinary) { binary ->
if (!buildable) {
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
return
}