1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: use gcc-4.2 prior to clang, gcc, and cc if exist for

the use of Snow Leopard's old clang. see also r36594, r36610, r36611.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-08-05 04:26:24 +00:00
parent 949d740a32
commit e57da6109c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Aug 5 13:22:29 2012 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in: use gcc-4.2 prior to clang, gcc, and cc if exist for
the use of Snow Leopard's old clang. see also r36594, r36610, r36611.
Sun Aug 5 06:55:10 2012 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_{core,strftime}.c: [ruby-core:46990].

View file

@ -371,7 +371,7 @@ fi
RUBY_NACL
AS_CASE(["$host_os:$build_os"],
[darwin*:darwin*], [
AC_CHECK_TOOLS(CC, [clang gcc cc])
AC_CHECK_TOOLS(CC, [gcc-4.2 clang gcc cc])
])
if test x"${build}" != x"${host}"; then
AC_CHECK_TOOL(CC, gcc)