Skip to content

Commit

Permalink
fix ruby 1.8 compilation with gcc 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Sep 6, 2012
1 parent eb8473a commit 45df5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/functions/build
Expand Up @@ -151,7 +151,7 @@ __rvm_setup_compile_environment_gcc47()
__rvm_compiler_is_gcc47 || return 0
[[ "${rvm_ruby_version}" =~ 1.8.* ]] || return 0

__rvm_update_configure_env CCFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls"
__rvm_update_configure_env CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls"
}

__rvm_setup_compile_environment_smartos()
Expand Down

0 comments on commit 45df5d9

Please sign in to comment.