]> git.pld-linux.org Git - packages/ruby.git/blob - strip-ccache.patch
new files
[packages/ruby.git] / strip-ccache.patch
1 strip ccache from CC and CXX from rbconfig.rb
2
3 --- ruby-2.0.0-p353/tool/mkconfig.rb~   2013-03-24 17:42:06.000000000 +0200
4 +++ ruby-2.0.0-p353/tool/mkconfig.rb    2014-03-18 10:34:08.489251715 +0200
5 @@ -77,6 +77,7 @@
6      when /^(?:MAJOR|MINOR|TEENY)$/; next
7      when /^RUBY_INSTALL_NAME$/; next if $install_name
8      when /^RUBY_SO_NAME$/; next if $so_name
9 +    when /^(CC|CXX)$/; val.sub!(/ccache /, '')
10      when /^arch$/; if val.empty? then val = arch else arch = val end
11      when /^sitearch$/; val = '$(arch)' if val.empty?
12      end
This page took 0.032336 seconds and 3 git commands to generate.