> Because the line above, as you know, does not pass LANGUAGES if it is 
> not set.  But if it is set, the value is reset completely, rather than 
> combined with the value in the subdirectory.

Right, as intended.

> So, the AIX makefile fragments config/mh-ppc-aix and config/mt-ppc-aix 
> could not just do
> 
> ADAFLAGS += -mminimal-toc
> ADAFLAGS_FOR_TARGET += -mminimal-toc

But this approach is wrong to start with, so you cannot use this argument
based on a wrong approach to start with, otherwise you will end up
patching and covering work arounds over work arounds.

The Ada Makefile already takes into account $(X_ADAFLAGS) and
$(T_ADAFLAGS)

It sounds like T_ADAFLAGS would probably be appropriate to solve the
AIX specific issue.

Although I would need to see the entire issue we're trying to solve under
AIX, since it's not clear at all to me that forcing -mminimal-toc
systematically is a good idea to start with. Could you point to a detailed
discussion on the AIX issue ?

Arno

Reply via email to