summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrejs Mivre┼ćiks2016-08-03 08:11:05 +0300
committerAndrejs Mivre┼ćiks2016-08-03 08:11:05 +0300
commit9bd927c065efb12acd32272feed884861a426af4 (patch)
treeaba4625caeb012accb11370cc9163205fc2e649d /PKGBUILD
parente1695ab381e531be3b6af2315d2b2514faa41e6a (diff)
downloadaur-9bd927c065efb12acd32272feed884861a426af4.tar.gz
Unset CLASSPATH environment variable before build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c56d3519d73..eb3c0cb6207 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -83,7 +83,10 @@ build() {
cd "${srcdir}/jdk8u-${_repo_ver}"
unset JAVA_HOME
+ # _JAVA_OPTIONS breaks installed Java version check
unset _JAVA_OPTIONS
+ # https://bugs.archlinux.org/task/44164
+ unset CLASSPATH
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346
export MAKEFLAGS=${MAKEFLAGS/-j*}