bug-make
[Top][All Lists]
Advanced

[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


From: Paul D. Smith
Subject: [bug #23793] MAKEFLAGS with only variable settings X=y does not work properly
Date: Mon, 07 Jul 2008 13:33:47 +0000
User-agent: 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:

  <http://savannah.gnu.org/bugs/?23793>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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