Skip to content

Commit 584aeb4

Browse files
committed
--no-tcmalloc on darwin
1 parent f3f230e commit 584aeb4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/ruby-build

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,12 @@ build_package_copy() {
7171
}
7272

7373
build_package_ree_installer() {
74-
{ ./installer --auto "$PREFIX_PATH"
74+
local options="--auto $PREFIX_PATH"
75+
if [[ "Darwin" = "$(uname)" ]]; then
76+
options="$options --no-tcmalloc"
77+
fi
78+
79+
{ ./installer $options
7580
} >$LOG_PATH 2>&1
7681
}
7782

0 commit comments

Comments
 (0)