diff --git a/build.gradle b/build.gradle index 7cf1e51..bea11d5 100644 --- a/build.gradle +++ b/build.gradle @@ -11,12 +11,14 @@ binaries.all { cCompiler.args "-g", "-fno-strict-aliasing" } else { - cCompiler.args "-O2", "-fno-strict-aliasing" + cCompiler.args "-O2", "-fno-strict-aliasing -lm" linker.args "-s" } tasks.withType(LinkSharedLibrary) { tasks.withType(CCompile) { includes.from("eris/src") + includes.from("/usr/lib/jvm/adoptopenjdk-8-openj9-arm64/include") + includes.from("/usr/lib/jvm/adoptopenjdk-8-openj9-arm64/include/linux") includes.from("/usr/lib/jvm/java-6-openjdk/include") includes.from("/usr/lib/jvm/java-6-openjdk/include/linux") includes.from("/usr/lib/jvm/java-7-openjdk/include") @@ -87,8 +89,8 @@ model { gcc(Gcc) { linker.executable = 'gcc' target('arm') { - linker.executable = 'arm-unknown-linux-gnueabi-gcc' - cCompiler.executable = 'arm-unknown-linux-gnueabi-gcc' + linker.executable = 'gcc' + cCompiler.executable = 'gcc' } } clang(Clang) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 27b0a9d..07c4c89 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-2.1-bin.zip +distributionUrl=https://downloads.gradle-dn.com/distributions/gradle-2.1-bin.zip