extra/java-openjdk: fix

This commit is contained in:
Kevin Mihelich 2018-10-29 13:40:15 +00:00
parent d3f2878d4c
commit 4cc98ff493

View file

@ -68,7 +68,7 @@ _nonheadless=(lib/libawt_xawt.{so,debuginfo}
build() {
cd ${_jdkdir}
export MAKEFLAGS="-j5"
[[ $CARCH != "aarch64" ]] && export MAKEFLAGS="-j2"
NUM_PROC_OPT=''
MAKEFLAG_J=$(echo ${MAKEFLAGS} | sed -En 's/.*-j([0-9]+).*/\1/p')