Changes to add support of Power8 little endian
diff --git a/compiler/build.gradle b/compiler/build.gradle
index c0ffd4a..e52aaa2 100644
--- a/compiler/build.gradle
+++ b/compiler/build.gradle
@@ -47,6 +47,7 @@
}
}
gcc(Gcc) {
+ target("ppcle_64")
}
clang(Clang) {
}
@@ -59,11 +60,14 @@
x86_64 {
architecture "x86_64"
}
+ ppcle_64 {
+ architecture "ppcle_64"
+ }
}
components {
java_plugin(NativeExecutableSpec) {
- if (arch in ['x86_32', 'x86_64']) {
+ if (arch in ['x86_32', 'x86_64', 'ppcle_64']) {
// If arch is not within the defined platforms, we do not specify the
// targetPlatform so that Gradle will choose what is appropriate.
targetPlatform arch