[
https://issues.apache.org/jira/browse/TS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113699#comment-13113699
]
Igor Galić commented on TS-967:
-------------------------------
Shouldn't {{-x?O.}} be enough for a remotely sane match?
> Traffic Server unconditionally sets compiler optimizing flags (with patch)
> --------------------------------------------------------------------------
>
> Key: TS-967
> URL: https://issues.apache.org/jira/browse/TS-967
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Affects Versions: sometime, 3.0.1
> Reporter: Arno Toell
> Attachments: dont-unconditionally-put-in-oflags.patch
>
>
> Currently, Traffic Server unconditionally sets compiler optinizing flags,
> e.g. _-O3_ and ignores any setting the user might have given at build time
> through, e.g. {{CFLAGS}}.
> The attached patch against the current trunk checks the environment for -O
> flags in {{C(XX)FLAGS}} and only sets them, if the user did not define any.
> Note: I didn't test it on Solaris.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira