forked from pool/openjfx
21 lines
1010 B
Diff
21 lines
1010 B
Diff
|
--- a/build.gradle
|
||
|
+++ b/build.gradle
|
||
|
@@ -291,7 +291,7 @@ ext.MODULESOURCEPATH = "modulesourcepath.args"
|
||
|
// this build running on a Mac, Windows, or Linux machine? 32 or 64 bit?
|
||
|
ext.OS_NAME = System.getProperty("os.name").toLowerCase()
|
||
|
ext.OS_ARCH = System.getProperty("os.arch")
|
||
|
-ext.IS_64 = OS_ARCH.toLowerCase().contains("64")
|
||
|
+ext.IS_64 = OS_ARCH.toLowerCase().contains("64") || OS_ARCH.toLowerCase().contains("s390x")
|
||
|
ext.IS_MAC = OS_NAME.contains("mac") || OS_NAME.contains("darwin")
|
||
|
ext.IS_WINDOWS = OS_NAME.contains("windows")
|
||
|
ext.IS_LINUX = OS_NAME.contains("linux")
|
||
|
@@ -308,7 +308,7 @@ if (IS_WINDOWS && OS_ARCH != "x86" && OS_ARCH != "amd64") {
|
||
|
} else if (IS_MAC && OS_ARCH != "x86_64" && OS_ARCH != "aarch64") {
|
||
|
fail("Unknown and unsupported build architecture: $OS_ARCH")
|
||
|
} else if (IS_LINUX && OS_ARCH != "i386" && OS_ARCH != "amd64") {
|
||
|
- fail("Unknown and unsupported build architecture: $OS_ARCH")
|
||
|
+ logger.warn("Unknown and unsupported build architecture: $OS_ARCH")
|
||
|
}
|
||
|
|
||
|
|