Hi,
One of my Makefiles contains
  MAKEFLAGS += -j

Prior to the above commit, this would cause make to run as if I had run
   make -j

Since that commit, it appears to be ignored.  If I run
  make -j
explicitly I get parallel makes, but setting MAKEFLAGS in the Makefile
doesn't achieve that result.

This usage is still described as supported by make.texi:

The @code{MAKEFLAGS} variable can also be useful if you want to have
certain options, such as @samp{-k} (@pxref{Options Summary, ,Summary of
Options}), set each time you run @code{make}.  You simply put a value for
@code{MAKEFLAGS} in your environment.  You can also set @code{MAKEFLAGS} in
a makefile, to specify additional flags that should also be in effect for
that makefile.  (Note that you cannot use @code{MFLAGS} this way.  That
variable is set only for compatibility; @code{make} does not interpret a
value you set for it in any way.)


Thanks,
NeilBrown

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to