Changeset 246

Show
Ignore:
Timestamp:
02/27/2008 11:22:01 (9 months ago)
Author:
jgarber
Message:

Switching to -O0 flag so no optimization is done. End result is smaller and nearly as fast. [Gaspard Bucher]

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/superredcloth/ext/superredcloth_scan/extconf.rb

    r191 r246  
    11require 'mkmf' 
    22 
    3 if /darwin9/ =~ RUBY_PLATFORM 
    4   # OSX 10.5 doesn't like the default "-Os" 
    5   $CFLAGS << " -O1 " 
    6 end 
     3# do not optimize (takes too much memory and performance gain is negligeable) 
     4$CFLAGS << " -O0 " 
    75 
    86dir_config("superredcloth_scan")