openjdk15-jdk: fixed variable indicating an older jdk version

This commit is contained in:
Tim Biermann 2021-02-08 14:50:54 +01:00
parent 0642ebea8f
commit 032a55f333
Signed by: tb
GPG Key ID: 42F8B4E30B673606

View File

@ -16,7 +16,7 @@ source=(https://crux.ster.zone/downloads/java/openjdk-$version.tar.bz2
build() {
if [ -e '/usr/bin/ccache' ]; then
PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
PKGMK_JDK13+=' --enable-ccache'
PKGMK_JDK15+=' --enable-ccache'
fi
OLD_PATH=$PATH
@ -36,7 +36,7 @@ build() {
export _CFLAGS+=' -fcommon'
export _CXXFLAGS+=' -fcommon'
LC_ALL=C
/bin/bash ../jdk15u-$_jdkhash/configure $PKGMK_JDK13 \
/bin/bash ../jdk15u-$_jdkhash/configure $PKGMK_JDK15 \
--prefix=/usr/lib/java/$name \
--disable-precompiled-headers \
--disable-warnings-as-errors \