yplatform icon indicating copy to clipboard operation
yplatform copied to clipboard

MAKEFLAGS cannot be changed

Open andreineculau opened this issue 2 years ago • 0 comments

Please verify that you've followed these steps.

  • [ ] I opened a new shell.
  • [ ] I ran: make bootstrap
  • [ ] I ran: make nuke all
  • [ ] I ran: make doctor

What does your system and relevant software look like?

After evaluating `$(shell ...)` or even `$(warning ...)` expressions, Make will not react anymore on updates to `MAKEFLAGS`

Consider investigating alternatives at `mk` level. Will be harder/impossible at `build.mk` level.

What were you trying to do (and why)?

Trying to set MAKEFLAGS += --no-print-directory after including mk/common.dist.inc.mk.

What happened?

Doesn't work, still prints Entering directory ... to stdout.

What did you expect to happen?

Expected silence.

Step-by-step reproduction instructions.

No response

What alternatives are there?

No response

andreineculau avatar Apr 09 '23 20:04 andreineculau