Skip to content

Commit 3b9d275

Browse files
committed
Merge remote-tracking branch 'theaboutbox/20111107-make-opts'
2 parents adbba21 + b248025 commit 3b9d275

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/ruby-build

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ build_package() {
128128

129129
build_package_standard() {
130130
local package_name="$1"
131-
131+
if [ -z "${MAKE_OPTS+defined}" ]; then
132+
MAKE_OPTS="-j 2"
133+
fi
132134
{ ./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS
133-
make -j 2
135+
make $MAKE_OPTS
134136
make install
135137
} >&4 2>&1
136138
}

0 commit comments

Comments
 (0)