mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-09-17 14:41:26 +02:00
--no-tcmalloc on darwin
This commit is contained in:
parent
f3f230e4ae
commit
584aeb4dec
1 changed files with 6 additions and 1 deletions
|
@ -71,7 +71,12 @@ build_package_copy() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build_package_ree_installer() {
|
build_package_ree_installer() {
|
||||||
{ ./installer --auto "$PREFIX_PATH"
|
local options="--auto $PREFIX_PATH"
|
||||||
|
if [[ "Darwin" = "$(uname)" ]]; then
|
||||||
|
options="$options --no-tcmalloc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
{ ./installer $options
|
||||||
} >$LOG_PATH 2>&1
|
} >$LOG_PATH 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue