]> git.pld-linux.org Git - packages/ruby.git/blob - strip-ccache.patch
up to 2.6.5
[packages/ruby.git] / strip-ccache.patch
1 --- ruby-2.2.5/tool/mkconfig.rb.orig    2016-09-19 13:53:05.152982868 +0200
2 +++ ruby-2.2.5/tool/mkconfig.rb 2016-09-19 14:01:04.182988081 +0200
3 @@ -79,6 +79,7 @@
4      when /^LIBRUBY_D?LD/; next
5      when /^RUBY_INSTALL_NAME$/; next vars[name] = (install_name = val).dup if $install_name
6      when /^RUBY_SO_NAME$/; next vars[name] = (so_name = val).dup if $so_name
7 +    when /^(CC|CXX)$/; val.sub!(/ccache /, '')
8      when /^arch$/; if val.empty? then val = arch else arch = val end
9      when /^sitearch$/; val = '$(arch)' if val.empty?
10      end
This page took 0.062066 seconds and 3 git commands to generate.