diff --git a/bin/ruby-build b/bin/ruby-build index 8d6d4062..07378c5f 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -151,6 +151,7 @@ use_gcc42_on_lion() { if [ "$(uname -s)" = "Darwin" ]; then if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7 || true)" -eq 1 ]; then export CC=/usr/bin/gcc-4.2 + CONFIGURE_OPTS="--with-gcc=$CC $CONFIGURE_OPTS" fi fi }