Loading bin/ruby-build +4 −5 Original line number Diff line number Diff line Loading @@ -662,12 +662,11 @@ else TMP="${TMPDIR%/}" fi # Work around warnings building Ruby 2.0 on Clang 2.x if type clang &>/dev/null; then if "${CC:-clang}" -x c /dev/null -E -Wno-error=shorten-64-to-32 &>/dev/null; then # Work around warnings building Ruby 2.0 on Clang 2.x: # pass -Wno-error=shorten-64-to-32 if the compiler accepts it. if "${CC:-cc}" -x c /dev/null -E -Wno-error=shorten-64-to-32 &>/dev/null; then RUBY_CFLAGS="$RUBY_CFLAGS -Wno-error=shorten-64-to-32" fi fi if [ -z "$MAKE" ]; then export MAKE="make" Loading Loading
bin/ruby-build +4 −5 Original line number Diff line number Diff line Loading @@ -662,12 +662,11 @@ else TMP="${TMPDIR%/}" fi # Work around warnings building Ruby 2.0 on Clang 2.x if type clang &>/dev/null; then if "${CC:-clang}" -x c /dev/null -E -Wno-error=shorten-64-to-32 &>/dev/null; then # Work around warnings building Ruby 2.0 on Clang 2.x: # pass -Wno-error=shorten-64-to-32 if the compiler accepts it. if "${CC:-cc}" -x c /dev/null -E -Wno-error=shorten-64-to-32 &>/dev/null; then RUBY_CFLAGS="$RUBY_CFLAGS -Wno-error=shorten-64-to-32" fi fi if [ -z "$MAKE" ]; then export MAKE="make" Loading