From 03a41fd0cd6635843d313c02150692a05d6b8bd2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 17 Mar 2021 16:30:50 +0000 Subject: binutils: use -j1 for make install git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12166 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter05/binutils-pass1.xml | 15 ++++++++++++++- chapter06/binutils-pass2.xml | 2 +- chapter08/binutils.xml | 2 +- general.ent | 6 +++--- 5 files changed, 29 insertions(+), 6 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index a4d1a72dd..2f8e33d32 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-03-17 + + + [xry111] - Use for Binutils + installation. Thanks report from Hans Meier. + + + + 2021-03-15 diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 306b087ef..807080812 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -131,7 +131,20 @@ cd build Install the package: -make install +make install -j1 + + + The meaning of the make parameter: + + + -j1 + + An issue in the building system may cause the installation + to fail with in MAKEFLAGS. + Override it to workaround this issue. + + + diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml index 414d782b3..182e06df0 100644 --- a/chapter06/binutils-pass2.xml +++ b/chapter06/binutils-pass2.xml @@ -90,7 +90,7 @@ cd build libctf.so to link against zlib from the host distribution: -make DESTDIR=$LFS install +make DESTDIR=$LFS install -j1 install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 7945938b0..55e6f8636 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -162,7 +162,7 @@ cd build Install the package: -make tooldir=/usr install +make tooldir=/usr install -j1 Remove useless static libraries: diff --git a/general.ent b/general.ent index c7bf93e57..973a95a81 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + -- cgit v1.2.3-54-g00ecf