Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2015-05-19 13:39:47 -0400
committerSravan Kumar Lakkimsetti2015-05-19 13:39:47 -0400
commit0f1c189fab479fe03b2c0942cf057b7a2e36f118 (patch)
treeb062795a936f786b0044e77d43e0963e63599236 /features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak
parente14ce86cf0819d0635c29fe2e9e85a35a972a72f (diff)
downloadrt.equinox.framework-0f1c189fab479fe03b2c0942cf057b7a2e36f118.tar.gz
rt.equinox.framework-0f1c189fab479fe03b2c0942cf057b7a2e36f118.tar.xz
rt.equinox.framework-0f1c189fab479fe03b2c0942cf057b7a2e36f118.zip
Bug 441421 - Eclipse crashes with UnsatisfiedLinkError on ppc64le
The code change is to set SWT_GTK3 environment variable to 0 in case of linux on ppc64le architecture. Since this change is required only on linux and ppc64le platform, the code changes are under LINUX and __ppc64le__ preprocessor macros. Added a new preprocessor macro __$(architecture)__ to make_linux.mak so that it can be used in the compilation of eclipse.c Please note: __ppc64le__ is not available as predefined macro in gcc that we are using for build Change-Id: I9748254e6ebdb9bd49f88726657171f338c6dc1a Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak b/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak
index 6abe01702..0bf14ffbf 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak
@@ -52,6 +52,7 @@ CFLAGS = ${M_ARCH} -g -s -Wall\
-fpic \
-DLINUX \
-DMOZILLA_FIX \
+ -D__$(DEFAULT_OS_ARCH)__ \
-DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
-DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
-DDEFAULT_WS="\"$(DEFAULT_WS)\"" \

Back to the top