Skip to content

Commit

Permalink
sys-libs/newlib: allow parallel install again
Browse files Browse the repository at this point in the history
The upstream build system has been heavily rewritten and shouldn't have
any parallel install bugs in it anymore.  If there are any left, they
should get fixed, so let's re enable parallel install.

Signed-off-by: Mike Frysinger <[email protected]>
  • Loading branch information
vapier committed Jan 20, 2023
1 parent f56162f commit b9f590f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sys-libs/newlib/newlib-4.3.0.20230120.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ src_compile() {

src_install() {
cd "${NEWLIBBUILD}" || die
emake -j1 DESTDIR="${D}" install
emake DESTDIR="${D}" install

if use nano ; then
cd "${NEWLIBNANOBUILD}" || die
emake -j1 DESTDIR="${NEWLIBNANOTMPINSTALL}" install
emake DESTDIR="${NEWLIBNANOTMPINSTALL}" install
# Rename nano lib* files to lib*_nano and move to the real ${D}
local nanolibfiles=""
nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|m\|rdimon\|gloss\)\.a" -print)
Expand Down
4 changes: 2 additions & 2 deletions sys-libs/newlib/newlib-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ src_compile() {

src_install() {
cd "${NEWLIBBUILD}" || die
emake -j1 DESTDIR="${D}" install
emake DESTDIR="${D}" install

if use nano ; then
cd "${NEWLIBNANOBUILD}" || die
emake -j1 DESTDIR="${NEWLIBNANOTMPINSTALL}" install
emake DESTDIR="${NEWLIBNANOTMPINSTALL}" install
# Rename nano lib* files to lib*_nano and move to the real ${D}
local nanolibfiles=""
nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|m\|rdimon\|gloss\)\.a" -print)
Expand Down

0 comments on commit b9f590f

Please sign in to comment.