help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buggy interaction between MAKEFLAGS += rR and CC ?= my_gcc


From: Paul Smith
Subject: Re: buggy interaction between MAKEFLAGS += rR and CC ?= my_gcc
Date: Thu, 25 Aug 2016 15:37:34 -0400

On Thu, 2016-08-25 at 11:27 -0800, Britton Kerin wrote:
> If assignment into MAKEFLAGS is going to be supported at all, it
> should have exactly the effect that the corresponding command line
> options have. In this case, that means CC etc. should be undefined
> (as with the undefine directive) from the point rR is injected, not
> just empty with origin default.

GNU make only reparses the MAKEFLAGS variable after all makefiles have
been read in.

It doesn't re-parse MAKEFLAGS every time MAKEFLAGS is changed anywhere
in the makefile.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]