1
0
Fork 0
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:
Koichi Sasada 2020-01-03 04:39:34 +09:00
parent 27fae1d4ad
commit 6f5ee1f092

View file

@ -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],