On Tue, 22 Sep 2020 08:15:59 +0200 (CEST)
Jan Engelhardt <jeng...@inai.de> wrote:

> On Tuesday 2020-09-22 02:19, Stephen Hemminger wrote:
> >> I observe:
> >> 
> >>    ยป make -j8 CCOPTS=-ggdb3
> >>    lib
> >>    make[1]: warning: -j8 forced in submake: resetting jobserver mode.
> >>    make[1]: Nothing to be done for 'all'.
> >>    ip
> >>    make[1]: warning: -j8 forced in submake: resetting jobserver mode.
> >>        CC       ipntable.o
> >> 
> >> MFLAGS is a historic variable of some kind; removing it fixes the
> >> jobserver issue.  
> >
> >MFLAGS is a way to pass flags from original make into the sub-make.  
> 
> MAKEFLAGS and MFLAGS are already exported by make (${MAKE} is magic
> methinks), so they need no explicit passing. You can check this by
> adding something like 'echo ${MAKEFLAGS}' to the lib/Makefile
> libnetlink.a target and then invoking e.g. `make -r` from the
> toplevel, and notice how -r shows up again in the submake.

For context:
https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html

With your change does the options through the same?
My concern is that this change might break how distros do their package builds,
and cross compilation.

Reply via email to