[macruby-changes] [2805] MacRuby/trunk/rakelib/builder.rake

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 14 17:58:49 PDT 2009


Revision: 2805
          http://trac.macosforge.org/projects/ruby/changeset/2805
Author:   lsansonetti at apple.com
Date:     2009-10-14 17:58:49 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
now building all .rbo files as 2-way fat intel binaries

Modified Paths:
--------------
    MacRuby/trunk/rakelib/builder.rake

Modified: MacRuby/trunk/rakelib/builder.rake
===================================================================
--- MacRuby/trunk/rakelib/builder.rake	2009-10-15 00:58:21 UTC (rev 2804)
+++ MacRuby/trunk/rakelib/builder.rake	2009-10-15 00:58:49 UTC (rev 2805)
@@ -387,7 +387,8 @@
     Dir.glob(pat).each do |path|
       out = File.join(File.dirname(path), File.basename(path, '.rb') + '.rbo')
       if !File.exist?(out) or File.mtime(path) > File.mtime(out) or File.mtime('./miniruby') > File.mtime(out)
-        sh "./miniruby -I. -I./lib bin/rubyc --internal -C \"#{path}\" -o \"#{out}\""
+        archf = ARCHS.map { |x| "--arch #{x}" }.join(' ')
+        sh "./miniruby -I. -I./lib bin/rubyc --internal #{archf} -C \"#{path}\" -o \"#{out}\""
       end
     end
   end 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091014/d90626c6/attachment-0001.html>


More information about the macruby-changes mailing list