summaryrefslogtreecommitdiffstats
path: root/make/scripts/setenv-build-jogl-x86_64.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_64.sh
parentf818817f3c0b14fe8317eaf5e1e1fff0a19884d0 (diff)
Fix Solaris gcc args ; Adding JVM arch flags (-d32/-d64)
Diffstat (limited to 'make/scripts/setenv-build-jogl-x86_64.sh')
-rw-r--r--make/scripts/setenv-build-jogl-x86_64.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/make/scripts/setenv-build-jogl-x86_64.sh b/make/scripts/setenv-build-jogl-x86_64.sh
index 9a4678b..695bede 100644
--- a/make/scripts/setenv-build-jogl-x86_64.sh
+++ b/make/scripts/setenv-build-jogl-x86_64.sh
@@ -26,6 +26,13 @@ if [ -e /opt-linux-x86_64/jre6 -a -e /opt-linux-x86_64/j2se6 ] ; then
export J2RE_HOME JAVA_HOME
fi
+if [ -e /opt-solaris-x86_64/jre6 -a -e /opt-solaris-x86_64/j2se6 ] ; then
+ J2RE_HOME=/opt-solaris-x86_64/jre6/bin/amd64
+ JAVA_HOME=/opt-solaris-x86_64/j2se6/bin/amd64
+ PATH=$J2RE_HOME:$JAVA_HOME:$PATH
+ export J2RE_HOME JAVA_HOME
+fi
+
export PATH