From d45f50d26d9d0861d96f46d9cb5261f5a731d498 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 1 Nov 2022 10:47:28 +0800 Subject: glibc: fix parallel build issue with make-4.4 We only need a one-line change in upstream fix (because we don't use "make --shuffle"). Add it as a sed for both Chapter 5 and Chapter 8. Note that the "minimal" sed would be '/MAEKFLAGS :=/s/r/ -r/'. I included an additional ')' so it won't modify "-r" again to "- -r". Tested "make" and "make check" on a x86_64 with -j8 and an arm64 with -j24. Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=2d7ed98add14 --- chapter05/glibc.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter05') diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 6b78031bc..a8834cc19 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -64,6 +64,11 @@ esac + Fix an issue building Glibc with parallel jobs and make-4.4 + or later: + +sed '/MAKEFLAGS :=/s/)r/) -r/' -i Makerules + Some of the Glibc programs use the non-FHS-compliant /var/db directory to store their runtime data. Apply the following patch to make such programs store their -- cgit v1.2.3-54-g00ecf