aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorIvan Dubrov <idubrov@guidewire.com>2014-04-25 21:38:05 -0700
committerIvan Dubrov <idubrov@guidewire.com>2014-04-25 21:38:05 -0700
commitb558a45203fb1cd3778086b24858dde84572c7ac (patch)
treed93fe072494bb8b790c11a06e9c75e667ec0ab2d /build.gradle
parent7c770eab8cd296acc8ee250fd806ed71e4b956a6 (diff)
downloaddcevm-b558a45203fb1cd3778086b24858dde84572c7ac.tar.gz
dcevm-b558a45203fb1cd3778086b24858dde84572c7ac.zip
Fixing native library compilation on x86 vs x64
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 1b7cb0b6..85d497dd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -143,6 +143,7 @@ project('native') {
args "-I${jre}/../include/linux"
args '-o'
args 'build/libnatives.so'
+ args (arch == Arch.X86 ? '-m32' : '-m64')
} else if (os == Os.MAC) {
args "-I${jre}/../include/darwin"
args '-o'