openjdk15-jdk: fixed variable indicating an older jdk version
This commit is contained in:
parent
0642ebea8f
commit
032a55f333
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user