You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (Commented JIRA)" <ji...@apache.org> on 2012/01/20 00:05:41 UTC

[jira] [Commented] (TS-1082) configure always clobbers optimiser flags

    [ https://issues.apache.org/jira/browse/TS-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189472#comment-13189472 ] 

Igor Galić commented on TS-1082:
--------------------------------

 http://trafficserver.apache.org/docs.html 404s,
please replace with  http://trafficserver.apache.org/docs


+On OpenSolaris:
+    $ ./configure [--prefix=PREFIX] CC=/usr/bin/gcc-4.3.2 CXX=/usr/bin/g++-4.3.2
+    $ make

we can build with Sun Studio just fine on Solaris.
But we need GNU make, so: gmake


+On FreeBSD, OSX and OpenSolaris:
+    $ sudo PREFIX/bin/traffic_cop

IIRC, trafficserver script is fixed and should work on these
platforms just fine. - if it doesn't, we need to file a bug
and fix it!


Why are you removing support for Sun Studio's -xOptimization
from configure.ac?
                
> configure always clobbers optimiser flags
> -----------------------------------------
>
>                 Key: TS-1082
>                 URL: https://issues.apache.org/jira/browse/TS-1082
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: James Peach
>            Assignee: Igor Galić
>            Priority: Minor
>         Attachments: 0001-TS-1082-Fix-optimizer-flags-detection.patch
>
>
> If the builder specifies optimizer flags, don't flip the default to -O3. Current behaviour is to always use -O3, since the check to disable this doesn't work. I believe the intention if for the builder to be able to do "CXXFLAGS=-O1 ./configure" and have the build use -O1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira