aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk22/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk22/Makefile')
-rw-r--r--java/openjdk22/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/openjdk22/Makefile b/java/openjdk22/Makefile
index d81cbb146655..b15cef1d678e 100644
--- a/java/openjdk22/Makefile
+++ b/java/openjdk22/Makefile
@@ -39,6 +39,8 @@ GH_PROJECT= jdk22u
NO_CCACHE= yes
+# Suppress passing -j to do-build target via Mk/bsd.port.mk
+# In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N
_MAKE_JOBS= #
MAKE_ENV= LANG="C" \
LC_ALL="C" \
@@ -48,6 +50,7 @@ MAKE_ENV= LANG="C" \
CC=${CC} \
CXX=${CXX} \
CPP=${CPP} \
+ LOG=cmdlines \
MAKEFLAGS=""
JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/}
@@ -89,6 +92,7 @@ CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \
--with-giflib-lib=${LOCALBASE}/lib \
--with-harfbuzz=system \
--with-libpng=system \
+ --with-num-cores=${MAKE_JOBS_NUMBER} \
--with-zlib=system \
--with-lcms=system \
--x-includes=${LOCALBASE}/include \