Dominique Leuenberger 2022-08-25 13:33:12 +00:00 committed by Git OBS Bridge
commit 7ed6379f09
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 24 10:48:55 UTC 2022 - Andreas Schwab <schwab@suse.de>
- make-jobserver-detection.patch: Fix detection of jobserver support
-------------------------------------------------------------------
Tue Aug 2 19:37:31 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -180,6 +180,8 @@ Patch3: java-atk-wrapper-security.patch
Patch12: adlc-parser.patch
# Avoid triggering inactivity timeout while generating javadoc in zero VM
Patch14: zero-javadoc-verbose.patch
# Fix detection of jobserver support
Patch15: make-jobserver-detection.patch
#
# OpenJDK specific patches
#
@ -516,6 +518,8 @@ patch -p0 -i %{PATCH12}
patch -p0 -i %{PATCH14}
%endif
patch -p0 -i %{PATCH15}
%ifarch ppc ppc64 ppc64le
# PPC fixes
patch -p0 -i %{PATCH103}

View File

@ -0,0 +1,13 @@
Index: openjdk/make/MakeHelpers.gmk
===================================================================
--- openjdk/make/MakeHelpers.gmk.orig
+++ openjdk/make/MakeHelpers.gmk
@@ -145,7 +145,7 @@ endef
# Hook to be called as the very first thing when running a normal build
define AtMakeStart
- $(if $(findstring --jobserver,$(MAKEFLAGS)),$(error make -j is not supported, use make JOBS=n))
+ $(if $(findstring jobserver,$(.FEATURES)),,$(error make -j is not supported, use make JOBS=n))
$(call CheckEnvironment)
@$(PRINTF) $(LOG_INFO) "Running make as '$(MAKE) $(MFLAGS) $(MAKE_ARGS)'\n"
@$(PRINTF) "Building $(PRODUCT_NAME) for target '$(call GetRealTarget)' in configuration '$(CONF_NAME)'\n\n"