Perhaps directly in the Makefile?

https://www.cmcrossroads.com/article/basics-getting-environment-variables-gnu-make

Am Mittwoch, dem 27.08.2025 um 10:15 -0700 schrieb Craig Leres:
On 8/27/25 02:42, Chris van der Meijden wrote:
I checked the second link and it seems to be a gmake 4.4.x problem.

The last sentence in that link is

"A workaround is to always provide (an empty) GNUMAKEFLAGS environment
variable."

so before the make command I entered

export GNUMAKEFLAGS=

and it compiles without warnings.

I will not put the environment variable in my profile, so I can watch
the further development in updates of gmake.

What I was hoping for is to find the place in one of the ovms .mk files
to stick GNUMAKEFLAGS=