Created
August 28, 2013 18:14
-
-
Save Ch00k/6369326 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __rvm_setup_compile_environment_sunos() | |
| { | |
| [[ "$(uname -s)" == "SunOS" ]] || return 0 | |
| case "$1" in | |
| ruby-1.9*|ruby-2*) | |
| # Temporary solution for this bug http://bugs.ruby-lang.org/issues/5384 | |
| rvm_configure_flags+=( ac_cv_func_dl_iterate_phdr=no ) | |
| ;; | |
| esac | |
| if __rvm_string_match "$1" "ruby-2.0.*" | |
| then rvm_configure_env+=( bash ) | |
| fi | |
| [[ "$(uname -v)" =~ ^Generic ]] || return 0 | |
| __rvm_update_configure_env AR="/opt/csw/bin/gar" | |
| __rvm_update_configure_env MAKE="/opt/csw/bin/gmake" | |
| return 0 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment