mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-02 22:24:26 +00:00
Ports: Make the number of compile jobs configurable
This commit is contained in:
parent
7eb8d13f84
commit
d8ce2802e0
|
@ -2,6 +2,7 @@
|
|||
set -eu
|
||||
|
||||
SCRIPT="$(dirname "${0}")"
|
||||
export MAKEJOBS="${MAKEJOBS:-$(nproc)}"
|
||||
|
||||
maybe_source() {
|
||||
if [ -f "$1" ]; then
|
||||
|
@ -46,7 +47,7 @@ host_env() {
|
|||
|
||||
packagesdb="${DESTDIR}/usr/Ports/packages.db"
|
||||
|
||||
makeopts=("-j$(nproc)")
|
||||
makeopts=("-j${MAKEJOBS}")
|
||||
installopts=()
|
||||
configscript=configure
|
||||
configopts=()
|
||||
|
|
Loading…
Reference in a new issue