patches: build perl single-threaded (#2392)
Prevents spurious build failures.
(cherry picked from commit 545d1cbb11
)
This commit is contained in:
parent
bf8e97014b
commit
ff4050d873
@ -0,0 +1,24 @@
|
||||
From: Martin Weinelt <martin@darmstadt.freifunk.net>
|
||||
Date: Tue, 8 Feb 2022 21:09:20 +0100
|
||||
Subject: perl: don't build in parallel and bump release
|
||||
|
||||
Parallel builds cause spurious build failures with high core counts.
|
||||
|
||||
https://github.com/openwrt/packages/issues/8238
|
||||
https://github.com/openwrt/packages/pull/17274
|
||||
|
||||
diff --git a/lang/perl/Makefile b/lang/perl/Makefile
|
||||
index 84d256d2d8c682f18670a4cbae0a48e3333fb222..c2e5cf8e703af675dd296704597934aa9b5f7446 100644
|
||||
--- a/lang/perl/Makefile
|
||||
+++ b/lang/perl/Makefile
|
||||
@@ -34,8 +34,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/perl/$(PKG_NAME)-$(PKG_VERSION)
|
||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_DEPENDS:=perl/host
|
||||
-PKG_BUILD_PARALLEL:=1
|
||||
-HOST_BUILD_PARALLEL:=1
|
||||
+PKG_BUILD_PARALLEL:=0
|
||||
+HOST_BUILD_PARALLEL:=0
|
||||
|
||||
# Variables used during configuration/build
|
||||
HOST_PERL_PREFIX:=$(STAGING_DIR_HOSTPKG)/usr
|
Loading…
Reference in New Issue
Block a user