On Wed, Jun 06, 2007 at 08:51:56AM +0200, strk wrote:
> On Tue, Jun 05, 2007 at 01:51:13PM -0700, John Gilmore wrote:
> > The reason for the speed difference is that the 16:00 checkout passed "-O2"
> > to G++; the new one does not.
> 
> Confirmed !
> Next we should find out why ...
> >From what rob says it's either AC_LANG_PUSH or AC_TRY_RUN.
> I'm adding print of CXXFLAGS in 'make dumpconfig'.

Alright, found the problem.
-g -O2 will NOT be pushed if CXXFLAGS is overridden by user (theoretically).
Our setting CXXFLAGS=$save_CXXFLAGS seems to be taken as such an override.
Even if $save_CXXFLAGS is empty !!

To confirm just add the following in configure.ac:

save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$save_CXXFLAGS"

And the -g -O2 go away ...

--strk;


_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to