On Tue, Jan 13, 2015 at 04:02:52PM +0100, Jean-Marc Lasgouttes wrote:
> Le 13/01/2015 15:10, Enrico Forestieri a écrit :
> >Hmm... I still get "-g" even after "make distclean" and rerunning configure.
> 
> Is it better now?

Yes, thanks.

> I made the choice of never touching CXXFLAGS, but only AM_CXXFLAGS.
> Tradionally, autoconf (tries to) set -g and -O in CXXFLAGS. Do you
> think this is a problem?

I don't think so, provided that you have a way to override the default
settings. In any case, the same set of configure options should not
change the default settings, in general, and this is now almost the case.
Almost, because previoulsy I was not getting the -Wxxx options and now
I am getting them. However, I think that this is a corner case, because
I use --enable-warnings and the meaning of this option seems to have
changed. It was once used for enabling the "#warning" directives in
the sources, while now it is used for enabling those options. However,
I have now switched to --disable-warnings and the output is exactly
as before ;)

-- 
Enrico

Reply via email to