From 8f24ae86e614567ae2ffcd316a2115da31d72214 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 1 Mar 2021 19:44:07 +0000 Subject: games-strategy/0ad: pass JOBS as env var Closes: https://bugs.gentoo.org/773622 Signed-off-by: Sam James --- games-strategy/0ad/0ad-0.0.24b_alpha.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'games-strategy') diff --git a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild index 803df28d90d6..a0468ee4b3e6 100644 --- a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild +++ b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild @@ -143,7 +143,7 @@ src_compile() { if use nvtt ; then cd libraries/source/nvtt || die elog "Building bundled NVTT (bug #768930)" - ./build.sh JOBS="-j$(makeopts_jobs)" || die "Failed to build bundled NVTT" + JOBS="-j$(makeopts_jobs)" ./build.sh || die "Failed to build bundled NVTT" cd "${S}" || die fi @@ -153,12 +153,16 @@ src_compile() { # e.g. bug #768840. cd libraries/source/spidermonkey || die elog "Building bundled SpiderMonkey (bug #768840)" - XARGS="${EPREFIX}/usr/bin/xargs" ./build.sh JOBS="-j$(makeopts_jobs)" || die "Failed to build bundled SpiderMonkey" + XARGS="${EPREFIX}/usr/bin/xargs" \ + JOBS="-j$(makeopts_jobs)" \ + ./build.sh \ + || die "Failed to build bundled SpiderMonkey" + cd "${S}" || die # Build 0ad itself! elog "Building 0ad" - emake -C build/workspaces/gcc verbose=1 JOBS="-j$(makeopts_jobs)" + JOBS="-j$(makeopts_jobs)" emake -C build/workspaces/gcc verbose=1 # Build assets # (We only do this if we're using a snapshot/non-release) -- cgit v1.2.3-65-gdbad