Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2014-03-26 11:59:03 +0000
committerAlexander Kurtakov2014-03-26 12:01:48 +0000
commit301075892ec7bfaaa1404ad7fa0e8707fc731677 (patch)
tree185f4fb6dc6940b990b0f582c5467f2ace59ca22
parentc4d8f00d3b05b52036330a780226ece860d85b38 (diff)
downloadeclipse.platform.swt-301075892ec7bfaaa1404ad7fa0e8707fc731677.tar.gz
eclipse.platform.swt-301075892ec7bfaaa1404ad7fa0e8707fc731677.tar.xz
eclipse.platform.swt-301075892ec7bfaaa1404ad7fa0e8707fc731677.zip
Bug 431225 - Recognize ppc64le and aarch64 as 64bit in build.sh
If building natives on linux for ppc64le or aarch64 they need to be recognized to be 64 bit to get -DJNI64 added. Change-Id: Icc98a9a4160e24004cfc1dd670677b3c17b05c5c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
index dcf53c2006..e3198650ee 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
@@ -421,7 +421,7 @@ esac
# For 64-bit CPUs, we have a switch
-if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64' -o ${MODEL} = 'ia64' -o ${MODEL} = 'sparc64' -o ${MODEL} = 's390x' ]; then
+if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64' -o ${MODEL} = 'ia64' -o ${MODEL} = 'sparc64' -o ${MODEL} = 's390x' -o ${MODEL} = 'ppc64le' -o ${MODEL} = 'aarch64' ]; then
SWT_PTR_CFLAGS=-DJNI64
if [ -d /lib64 ]; then
XLIB64=-L/usr/X11R6/lib64

Back to the top