Re: determining whether -jN was used

Paul Smith <[email protected]> Thu, 23 May 2024 12:21:02 -0400
Newsgroups gmane.comp.gnu.make.general
Organization GNU's Not UNIX!
Message-ID <[email protected]>
On Thu, 2024-05-23 at 11:34 -0400, DSB wrote:
> "To access the pipe you must parse the 'MAKEFLAGS' variable and look
> for the argument string '--jobserver-auth=R,W'"

I don't have time to test this right now but I think in 4.2 you have to
look at the shell variable, not the makefile variable.

E.g.

   $(info $(shell echo $$MAKEFLAGS))