mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 04:44:19 +08:00
Build bash recipe without parallel jobs
This commit is contained in:
parent
6e25f3485b
commit
999ce1cd76
@ -17,5 +17,6 @@ COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--disable-readline
|
||||
bash_cv_getenv_redef=no
|
||||
)
|
||||
COOKBOOK_MAKE_JOBS=1 # workaround for parallel make bugs
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
@ -479,9 +479,10 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--enable-static
|
||||
)
|
||||
COOKBOOK_MAKE="make"
|
||||
COOKBOOK_MAKE_JOBS="$(nproc)"
|
||||
function cookbook_configure {
|
||||
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
|
||||
"${COOKBOOK_MAKE}" -j "$(nproc)"
|
||||
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
|
||||
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}"
|
||||
}
|
||||
"#;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user