On Friday 11 September 2009, Chris Cannam wrote: > First, I've no clear idea where the -g -O2 combination comes from.
Nor do I. It seems quite strange to me that this is what I get for $CXXFLAGS when my environment variable is clearly empty. I would have expected it to be a null string in that case, and I have no idea where it's coming from. > facts if it isn't going to need them for optimisation. At the time I > added that flag, I was clearly more interested in warnings than stack > traces, but there's no reason it shouldn't be reverted to -O0. I wonder if there's some way to have both, but I suppose for no more often than someone would want to switch priorities on something like this, we could just leave it to hacking the generated Makefile. > Finally, I _thought_ that later -O options in the command line > overruled earlier ones, but I can't actually seem to find any > reference for that at the moment and I haven't tested it, so I may be > mistaken. I would expect the last option to override the first, in which case it seems CXXFLAGS from the environment variable can't work properly anyway. > I wouldn't particularly mind losing the ability to pick up CXXFLAGS > from the environment myself. OK, so we'll try an experiment on the project_packager_rewrite branch and see how it goes. Thanks for shedding some light. -- D. Michael McIntyre ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
