[macruby-changes] [4293] ControlTower/trunk/Rakefile

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 25 23:27:01 PDT 2010


Revision: 4293
          http://trac.macosforge.org/projects/ruby/changeset/4293
Author:   lsansonetti at apple.com
Date:     2010-06-25 23:27:01 -0700 (Fri, 25 Jun 2010)
Log Message:
-----------
always compile the C files with -O3

Modified Paths:
--------------
    ControlTower/trunk/Rakefile

Modified: ControlTower/trunk/Rakefile
===================================================================
--- ControlTower/trunk/Rakefile	2010-06-26 06:26:32 UTC (rev 4292)
+++ ControlTower/trunk/Rakefile	2010-06-26 06:27:01 UTC (rev 4293)
@@ -40,6 +40,8 @@
 task :build do
   gcc = RbConfig::CONFIG['CC']
   cflags = RbConfig::CONFIG['CFLAGS'] + ' ' + RbConfig::CONFIG['ARCH_FLAG']
+  cflags.sub!(/-O./, '-O3')
+  cflags << " -Wall"
 
   Dir.chdir('ext/CTParser') do 
     sh "#{gcc} #{cflags} -fobjc-gc CTParser.m -c -o CTParser.o"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100625/8184e416/attachment.html>


More information about the macruby-changes mailing list