You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2009/11/07 00:12:32 UTC

[jira] Updated: (TS-19) Add -pipe when compiling with gcc

     [ https://issues.apache.org/jira/browse/TS-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-19:
----------------------------

    Component/s: Build

Maybe we can just add something simple like this for now, and take this into consideration later when we support compilers other than GCC:

diff --git a/configure.ac b/configure.ac
index 591cdbf..3081cb1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -223,7 +223,7 @@ AC_SUBST([pkglibexecdir],["$libexecdir/$PACKAGE_TARNAME"])
 # 5) Test compilers with all flags set.
 
 # These are shortcuts used in combination for the compiler options below
-common_opt="-m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings"
+common_opt="-pipe -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings"
 debug_opt="-ggdb3 $common_opt"
 release_opt="-g $common_opt -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing"
 cxx_opt="-Wno-invalid-offsetof"


> Add -pipe when compiling with gcc
> ---------------------------------
>
>                 Key: TS-19
>                 URL: https://issues.apache.org/jira/browse/TS-19
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Leif Hedstrom
>            Priority: Trivial
>
> Adding a -pipe when compiling with gcc will reduce compile time slightly, and shouldn't have any drawbacks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.