www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: config/2116: Wrong flags for native compiler on Solaris
Date Wed, 22 Apr 1998 22:14:52 GMT
rse@hyperreal.org wrote:
> 
> [In order for any reply to be added to the PR database, ]
> [you need to include <apbugs@Apache.Org> in the Cc line ]
> [and leave the subject line UNCHANGED.  This is not done]
> [automatically because of the potential for mail loops. ]
> 
> Synopsis: Wrong flags for native compiler on Solaris
> 
> Comment-Added-By: rse
> Comment-Added-When: Wed Apr 22 11:55:50 PDT 1998
> Comment-Added:
> Oh wait, I'm wrong. I showed in 1.3b7's Configure.
> You are right, the 1.2 src/Configure does nasty
> thinks with OPTIM. Hmmm... bet again I think
> the partif  egrep "^OPTIM[  ]*=" Makefile > /dev/null; then
>     OPTIM=""    # ditto
> else
>     if [ "x$OPTIM" = "x" ]; then
>     OPTIM="-O2"
>     fi
>     echo " + setting C compiler optimization-level to $OPTIM"
> fi
> 
> is wrong and this one should be fixed.
> It should do at least a case over $CC and only
> when it ends in "gcc" it should use -O2 and
> else -O. Or even better. Do nothing with OPTIM
> as 1.3b7's Configure does. I would prefer the
> latter one.

I don't mind, so long as it doesn't go wrong. People who are concerned
about performance should be prepared to figure out the appropriate flags
themselves.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message