On Tue, 2024-07-16 at 19:43 +0200, Alejandro Colomar wrote:
> I used the following:
> 
> < <
> < <       alx@debian:~/tmp/make$ env | grep CC
> < <       QT_ACCESSIBILITY=1
> < <       alx@debian:~/tmp/make$ cat GNUmakefile
> < <       GNUMAKEFLAGS += --no-builtin-rules
> < <       GNUMAKEFLAGS += --no-builtin-variables

Sorry I didn't notice this.  When asking questions it helps to call out
the important things explicitly rather than relying on the perennially
distracted to notice all the nuances.

GNUMAKEFLAGS is only "special" when read from the environment.  It has
no meaning inside a makefile; it's just a normal variable as far as
make is concerned.  You must use the MAKEFLAGS variable inside a
makefile, for it to have any effect.

I can see that the docs are not completely clear about this.  It should
be made clearer.

Reply via email to