Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-12-14 16:31:37 +0000
committerAndrew Niefer2009-12-14 16:31:37 +0000
commit233fbc10cdbf015745036964e76c1e6ba54f0e81 (patch)
tree6294d227fa251f96212db49178ff7b5bb18cda78
parent4d988229b5299e04010c3cd5e171ade5577a9e2f (diff)
downloadrt.equinox.framework-233fbc10cdbf015745036964e76c1e6ba54f0e81.tar.gz
rt.equinox.framework-233fbc10cdbf015745036964e76c1e6ba54f0e81.tar.xz
rt.equinox.framework-233fbc10cdbf015745036964e76c1e6ba54f0e81.zip
bug 282758 - ppc64
-rw-r--r--bundles/org.eclipse.equinox.executable/library/gtk/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/gtk/build.sh b/bundles/org.eclipse.equinox.executable/library/gtk/build.sh
index 8bda22f48..8267089a6 100644
--- a/bundles/org.eclipse.equinox.executable/library/gtk/build.sh
+++ b/bundles/org.eclipse.equinox.executable/library/gtk/build.sh
@@ -73,8 +73,6 @@ case $OS in
defaultOSArch="ppc64"
defaultJava=DEFAULT_JAVA_EXEC
OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
- M_ARCH=-m64
- export M_ARCH
;;
"s390")
defaultOSArch="s390"
@@ -162,6 +160,11 @@ if [ -n $javaHome ]; then
export JAVA_HOME
fi
+if [ "$defaultOSArch" = "ppc64" ]; then
+ M_ARCH=-m64
+ export M_ARCH
+fi
+
LIBRARY_DIR="../../../org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$defaultOSArch"
OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"

Back to the top