[macruby-changes] [3399] MacRuby/trunk/rakelib/builder/options.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 1 14:35:19 PST 2010


Revision: 3399
          http://trac.macosforge.org/projects/ruby/changeset/3399
Author:   lsansonetti at apple.com
Date:     2010-02-01 14:35:19 -0800 (Mon, 01 Feb 2010)
Log Message:
-----------
disable optimizations when compiling re.c

Modified Paths:
--------------
    MacRuby/trunk/rakelib/builder/options.rb

Modified: MacRuby/trunk/rakelib/builder/options.rb
===================================================================
--- MacRuby/trunk/rakelib/builder/options.rb	2010-02-01 22:34:39 UTC (rev 3398)
+++ MacRuby/trunk/rakelib/builder/options.rb	2010-02-01 22:35:19 UTC (rev 3399)
@@ -110,7 +110,9 @@
 
 OBJS_CFLAGS = {
   # Make sure everything gets inlined properly + compile as Objective-C++.
-  'dispatcher' => '--param inline-unit-growth=10000 --param large-function-growth=10000 -x objective-c++'
+  'dispatcher' => '--param inline-unit-growth=10000 --param large-function-growth=10000 -x objective-c++',
+  # Disable optimizations to work around a silly bug.
+  're' => '-O0'
 }
 
 # We monkey-patch the method that Rake uses to display the tasks so we can add
@@ -146,4 +148,4 @@
 }
     end
   end
-end
\ No newline at end of file
+end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100201/56b033be/attachment-0001.html>


More information about the macruby-changes mailing list