[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> 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.