[macruby-changes] [3274] MacRuby/trunk/rakelib/builder.rb
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jan 14 13:08:53 PST 2010
Revision: 3274
http://trac.macosforge.org/projects/ruby/changeset/3274
Author: eloy.de.enige at gmail.com
Date: 2010-01-14 13:08:49 -0800 (Thu, 14 Jan 2010)
Log Message:
-----------
Revert "Fixed a problem with precompiling extensions on 32-bit architectures."
This reverts commit 3273.
Modified Paths:
--------------
MacRuby/trunk/rakelib/builder.rb
Modified: MacRuby/trunk/rakelib/builder.rb
===================================================================
--- MacRuby/trunk/rakelib/builder.rb 2010-01-14 18:41:06 UTC (rev 3273)
+++ MacRuby/trunk/rakelib/builder.rb 2010-01-14 21:08:49 UTC (rev 3274)
@@ -26,15 +26,7 @@
$stderr.puts "getting archs from RC_ARCHS!"
s.strip.split(/\s+/)
else
- arch = `arch`.chomp
- case arch
- when /ppc/
- do_option('archs', 'ppc') { |x| x.split(',') }
- when /i386/
- do_option('archs', 'i386') { |x| x.split(',') }
- when /x86_64/
- do_option('archs', ['i386', 'x86_64']) { |x| x.split(',') }
- end
+ do_option('archs', `arch`.include?('ppc') ? 'ppc' : %w{i386 x86_64}) { |x| x.split(',') }
end
LLVM_PATH = do_option('llvm_path', '/usr/local')
FRAMEWORK_NAME = do_option('framework_name', 'MacRuby')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100114/811fb379/attachment.html>
More information about the macruby-changes
mailing list