diff options
author | antoine <antoine@FreeBSD.org> | 2015-06-14 06:57:17 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2015-06-14 06:57:17 +0800 |
commit | 5683fc0be68af797dc5ad1a056aab2e4f62a410c (patch) | |
tree | a060b5c8bf2d57bd548a908df0ed13721e0c364f /Mk/bsd.gecko.mk | |
parent | 143095b1123f766f57f68b9527e5c3761d366c4c (diff) | |
download | freebsd-ports-gnome-5683fc0be68af797dc5ad1a056aab2e4f62a410c.tar.gz freebsd-ports-gnome-5683fc0be68af797dc5ad1a056aab2e4f62a410c.tar.zst freebsd-ports-gnome-5683fc0be68af797dc5ad1a056aab2e4f62a410c.zip |
Respect DISABLE_MAKE_JOBS in gecko ports
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r-- | Mk/bsd.gecko.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 80f53efc116e..3b19aff273ce 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -406,6 +406,9 @@ MOZ_OPTIONS+= --enable-strip --enable-install-strip # _MAKE_JOBS is only available after bsd.port.post.mk, thus cannot be # used in .mozconfig. And client.mk automatically uses -jN where N # is what multiprocessing.cpu_count() returns. +.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE) +MAKE_JOBS_NUMBER= 1 +.endif .if defined(MAKE_JOBS_NUMBER) MOZ_MAKE_FLAGS+=-j${MAKE_JOBS_NUMBER} .endif |