]> git.pld-linux.org Git - packages/openjdk9.git/commitdiff
unset CLASSPATH
authorJacek Konieczny <jajcus@jajcus.net>
Fri, 18 Sep 2015 14:44:21 +0000 (16:44 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Fri, 18 Sep 2015 14:44:21 +0000 (16:44 +0200)
openjdk8.spec

index ea2de66f5b8412a24b5ac1493cc2987e485a7168..c00c8795783e2228a81e4b789160c4d775c71cbd 100644 (file)
@@ -434,8 +434,14 @@ cd common/autoconf
 cd ../..
 
 mkdir -p build-bin
 cd ../..
 
 mkdir -p build-bin
+
+# use the specified %%use_jdk
 export JAVA_HOME=%{java_home}
 export PATH="$JAVA_HOME/bin:$PATH"
 export JAVA_HOME=%{java_home}
 export PATH="$JAVA_HOME/bin:$PATH"
+
+# unset CLASSPATH to be safe, gnustep puts garbage there, which openjdk hates
+unset CLASSPATH
+
 export SHELL=/bin/bash
 
 chmod a+x configure
 export SHELL=/bin/bash
 
 chmod a+x configure
This page took 0.06392 seconds and 4 git commands to generate.