This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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.Why is that so ? I do not understand, could you clarify ? And forUnfortunately, there is no really easy and elegant solution. This one, for example, would really oblige targets that want to specify Ada-only flags to also include -Wall -W -gnatpg -gnata.EXTRA_GCC_FLAGS = \ [...] "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
instance give an example of what you have in mind ?
ADAFLAGS += -mminimal-toc ADAFLAGS_FOR_TARGET += -mminimal-toc
ADAFLAGS = -mminimal-toc -Wall -W -gnatpg -gnata ADAFLAGS_FOR_TARGET = -mminimal-toc -Wall -W -gnatpg -gnata
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |