[ruby-cvs:79051] 27fae1d4ad (master): disable ccache if $CC is in /usr/lib/ccache/$CC.

"Koichi Sasada" <[email protected]> Fri, 3 Jan 2020 02:07:37 +0900 (JST)
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Koichi Sasada	2020-01-03 02:00:58 +0900 (Fri, 03 Jan 2020)

  New Revision: 27fae1d4ad

  https://github.com/ruby/ruby/commit/27fae1d4ad

  Log:
    disable ccache if $CC is in /usr/lib/ccache/$CC.
    =

    MJIT with ccache has a problem on docker environment, so
    we need to use original CC (/usr/bin/gcc, for example).
    Ubuntu system provides /usr/lib/ccache/gcc and so on to use
    gcc with ccache. It is easy to setup ccache by adding
    /usr/lib/ccache to $PATH. However we need to use /usr/bin/gcc
    (and so on) for MJIT_CC. We can specify MJIT_CC option at
    configure, but specifying them is troublesome.
    =

    This patch choose original $CC (/usr/bin/gcc, for example)
    if $CC is /usr/lib/ccache/$CC.

  Modified files:
    configure.ac=