[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #23793] MAKEFLAGS with only variable settings X=y does not work pro
Paul D. Smith
[bug #23793] MAKEFLAGS with only variable settings X=y does not work properly
Mon, 07 Jul 2008 13:33:47 +0000
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0
Update of bug #23793 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
Follow-up Comment #1:
I don't believe this is a bug. The GNU make manual says:
`MAKEFLAGS' begins with a hyphen only when it begins with an option that has
no single-letter version, such as `--warn-undefined-variables'
In general, it's not correct to put $(MAKEFLAGS) in a recipe line when
invoking a sub-make. MAKEFLAGS is intended to be passed to the sub-make
through the environment, not the command line, and this will happen
automatically for you all the time.
Sub-makes should be invoked as just $(MAKE), with no $(MAKEFLAGS).
For more information, see section "Communicating Options to a Sub-make" in
the GNU make manual.
Reply to this item at:
Message sent via/by Savannah