Liviu Nicoara wrote:
Martin Sebor wrote:

Liviu Nicoara wrote:
A cursory look at toplevel GNUMakefile shows that CXXOPTS, CPPOPTS and
LDOPTS values are not saved in makefile.in. The easiest fix would be to
append their values to the corresponding ~FLAGS variables. I have not
tested it and I am not aware of any adverse effects.

What do you think?

I'm not sure. This is what we used to do but I changed it because
they get appended in makefile.common adding them to CXXFLAGS in
makefile.in will end up duplicated. I'll have to think about how
to do what you want w/o duplicating the options.


The reason I believe we should address this and avoid manual
modification of makefile.in is that all invocations of the compiler
before makefile.in is created are failing with consequences like
choosing the wrong build model (tempinc vs template registry).

Yeah, I know. It has bitten me several times already. If you put
together a patch that solves w/o duplicating the options later on
I'll be glad to accept it :)

Martin

Reply via email to