[Xorp-cvs] SF.net SVN: xorp:[11594] trunk/xorp/SConstruct

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Thu Nov 26 16:37:09 PST 2009


Revision: 11594
          http://xorp.svn.sourceforge.net/xorp/?rev=11594&view=rev
Author:   bms_fbsd
Date:     2009-11-27 00:37:09 +0000 (Fri, 27 Nov 2009)

Log Message:
-----------
Enable the use of the GCC/G++ -pipe option by default.

Linux and BSD will normally use CPU page flipping for UNIX unnamed
pipes behind the scenes, which is significantly faster than using
temporary files (even if /tmp is directly memory backed).

It is surprising SCons does not enable this out of the box.

Modified Paths:
--------------
    trunk/xorp/SConstruct

Modified: trunk/xorp/SConstruct
===================================================================
--- trunk/xorp/SConstruct	2009-11-27 00:19:41 UTC (rev 11593)
+++ trunk/xorp/SConstruct	2009-11-27 00:37:09 UTC (rev 11594)
@@ -364,7 +364,7 @@
     '-Wcast-align',
     '-Wstrict-prototypes',
     '-Wnested-externs',
-    #'-pipe',
+    '-pipe',
     ])
 
 env.AppendUnique(CXXFLAGS = [
@@ -377,7 +377,7 @@
     '-Wcast-align',
     '-Woverloaded-virtual',
     '-ftemplate-depth-25',
-    #'-pipe',
+    '-pipe',
     ])
 
 # NOTE: For GNU STL only at this time.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list