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

.travis.yml: prefer gcc

It seems `clang --save-temps` does not interface well with
tool/update-deps.  Prefer gcc for that purpose.
This commit is contained in:
卜部昌平 2020-08-22 11:10:37 +09:00
parent d916a4c897
commit 331d02038b

View file

@ -413,7 +413,7 @@ env:
- make -s $JOBS $UPDATE_UNICODE -o update-src up - make -s $JOBS $UPDATE_UNICODE -o update-src up
- make -s $JOBS srcs - make -s $JOBS srcs
- rm -f config.status Makefile rbconfig.rb .rbconfig.time - rm -f config.status Makefile rbconfig.rb .rbconfig.time
- $SETARCH ./configure -C --disable-install-doc --prefix=$RUBY_PREFIX --disable-rubygems 'optflags=-O0' 'debugflags=-save-temps=obj -g' - $SETARCH ./configure -C --disable-install-doc --prefix=$RUBY_PREFIX --disable-rubygems --with-gcc 'optflags=-O0' 'debugflags=-save-temps=obj -g'
- ruby tool/update-deps --fix - ruby tool/update-deps --fix
script: script:
- git diff --no-ext-diff --ignore-submodules --exit-code - git diff --no-ext-diff --ignore-submodules --exit-code