mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
modify MJIT_CC only on RUBY_DEBUG=ci
Modify MJIT_CC (27fae1d4ad
) only on CI environment.
This commit is contained in:
parent
27fae1d4ad
commit
6f5ee1f092
1 changed files with 2 additions and 1 deletions
|
@ -276,7 +276,8 @@ AS_IF([test "x$cross_compiling" = xno], [
|
|||
AC_PATH_PROG([MJIT_CC], ${MJIT_CC})
|
||||
|
||||
# if $CC is in /usr/lib/ccache/$CC, search original $CC (disable ccache)
|
||||
AS_IF([echo $MJIT_CC | grep ^/usr/lib/ccache > /dev/null], [
|
||||
AS_IF([echo $RUBY_DEBUG | grep ci > /dev/null &&
|
||||
echo $MJIT_CC | grep ^/usr/lib/ccache > /dev/null], [
|
||||
PATH=`echo $PATH | sed "s/\/usr\/lib\/ccache://"` MJIT_CC=`which $CC`])
|
||||
|
||||
AS_CASE([$target_os],
|
||||
|
|
Loading…
Reference in a new issue