]> git.pld-linux.org Git - packages/ruby.git/blobdiff - strip-ccache.patch
up to 2.6.5
[packages/ruby.git] / strip-ccache.patch
index 1858e067e2e13282df7623e2b868a5597a8d0eb6..8c5528bf43481076c2df7a9895edd93b0ce4340f 100644 (file)
@@ -1,11 +1,9 @@
-strip ccache from CC and CXX from rbconfig.rb
-
---- ruby-2.0.0-p353/tool/mkconfig.rb~  2013-03-24 17:42:06.000000000 +0200
-+++ ruby-2.0.0-p353/tool/mkconfig.rb   2014-03-18 10:34:08.489251715 +0200
-@@ -77,6 +77,7 @@
-     when /^(?:MAJOR|MINOR|TEENY)$/; next
-     when /^RUBY_INSTALL_NAME$/; next if $install_name
-     when /^RUBY_SO_NAME$/; next if $so_name
+--- ruby-2.2.5/tool/mkconfig.rb.orig   2016-09-19 13:53:05.152982868 +0200
++++ ruby-2.2.5/tool/mkconfig.rb        2016-09-19 14:01:04.182988081 +0200
+@@ -79,6 +79,7 @@
+     when /^LIBRUBY_D?LD/; next
+     when /^RUBY_INSTALL_NAME$/; next vars[name] = (install_name = val).dup if $install_name
+     when /^RUBY_SO_NAME$/; next vars[name] = (so_name = val).dup if $so_name
 +    when /^(CC|CXX)$/; val.sub!(/ccache /, '')
      when /^arch$/; if val.empty? then val = arch else arch = val end
      when /^sitearch$/; val = '$(arch)' if val.empty?
This page took 0.075497 seconds and 4 git commands to generate.