Revision
3399
Author
lsansonetti@apple.com
Date
2010-02-01 14:35:19 -0800 (Mon, 01 Feb 2010)

Log Message

disable optimizations when compiling re.c

Modified Paths

Diff

Modified: MacRuby/trunk/rakelib/builder/options.rb (3398 => 3399)


--- 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