Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow selecting make flags/targets, update #1036

  • Loading branch information...
commit 4af9d638b6b06a36442c9a67b6d5fbb2eebe8534 1 parent e9bbf31
@mpapis mpapis authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 scripts/cli
View
11 scripts/cli
@@ -719,6 +719,17 @@ __rvm_parse_args()
rvm_configure_flags="${rvm_configure_flags:-""} --with-gcc=clang"
;;
+ -M|--make)
+ if [[ ! -z "$next_token" ]] ; then
+ rvm_make_flags="$rvm_make_flags ${next_token//,/ }"
+ if [[ $# -gt 0 ]] ; then next_token="$1" ; shift ; else next_token="" ; fi
+
+ else
+ rvm_action="error"
+ rvm_error_message="--make *must* be followed by make flags."
+ fi
+ ;;
+
-j)
if [[ ! -z "$next_token" ]] ; then
rvm_make_flags="$rvm_make_flags -j$next_token"
Please sign in to comment.
Something went wrong with that request. Please try again.