summaryrefslogtreecommitdiffstats
path: root/make/scripts/setenv-build-jogl-x86.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-18 07:00:46 +0200
committerSven Gothel <[email protected]>2011-10-18 07:00:46 +0200
commit13488392fcd8f9253f82557158cd1e7c45c36e41 (patch)
tree966e72568cee5ab96646c6e8f822a83628c91dbd /make/scripts/setenv-build-jogl-x86.sh
parentf818817f3c0b14fe8317eaf5e1e1fff0a19884d0 (diff)
Fix Solaris gcc args ; Adding JVM arch flags (-d32/-d64)
Diffstat (limited to 'make/scripts/setenv-build-jogl-x86.sh')
-rw-r--r--make/scripts/setenv-build-jogl-x86.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/make/scripts/setenv-build-jogl-x86.sh b/make/scripts/setenv-build-jogl-x86.sh
index f2de867..5c56da4 100644
--- a/make/scripts/setenv-build-jogl-x86.sh
+++ b/make/scripts/setenv-build-jogl-x86.sh
@@ -26,5 +26,12 @@ if [ -e /opt-linux-x86/jre6 -a -e /opt-linux-x86/j2se6 ] ; then
export J2RE_HOME JAVA_HOME
fi
+if [ -e /opt-solaris-x86/jre6 -a -e /opt-solaris-x86/j2se6 ] ; then
+ J2RE_HOME=/opt-solaris-x86/jre6
+ JAVA_HOME=/opt-solaris-x86/j2se6
+ PATH=$J2RE_HOME/bin:$JAVA_HOME/bin:$PATH
+ export J2RE_HOME JAVA_HOME
+fi
+
export PATH