diff options
author | David Tardon <dtardon@redhat.com> | 2015-05-12 10:37:53 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-05-12 10:49:45 +0200 |
commit | 7a66dbe982623be620ad6ac426fe689a434e5f51 (patch) | |
tree | f20294239f93220d2af8d93b7027a3e3f2bd4a61 | |
parent | 3dfe2fc394ca1e168e800ffcc3ac0f69b4eeb173 (diff) |
java dir for powepc64 and powepc64le can differ
E.g., RHEL >= 7.1 uses ppc64le for reasons listed in
https://bugs.openjdk.java.net/browse/JDK-8073139 .
Change-Id: I982e65cdf99999e8a5ed23cf444ccb2aee764c4c
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 26071dc847ab..55157a9e1ae2 100644 --- a/configure.ac +++ b/configure.ac @@ -6997,9 +6997,12 @@ then powerpc) my_java_arch=ppc ;; - powerpc64*) + powerpc64) my_java_arch=ppc64 ;; + powerpc64le) + AS_IF([test -d "$JAVA_HOME/jre/lib/ppc64le"], [my_java_arch=ppc64le], [my_java_arch=ppc64]) + ;; x86_64) my_java_arch=amd64 ;; |