bugmake - Bugs: bug #45252, $(MAKE) not recognized in output...

 
 

bug #45252: $(MAKE) not recognized in output of $(call)

Submitted by:  None
Submitted on:  Wed 03 Jun 2015 06:36:58 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 4.2Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 03 Jun 2015 07:11:01 PM UTC, comment #2:

I should point out, you CAN add the '+' into the variable; this will work:

Obviously this requires that the variable expansion appears as the first thing in the recipe; it won't work to do something like:

Paul D. Smith <psmith>
Project Administrator
Wed 03 Jun 2015 07:08:20 PM UTC, comment #1:

This is not a bug. The documentation clearly discusses this in http://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html :

As a special feature, using the variable 'MAKE' in the recipe of a rule alters the effects of the '-t' ('--touch'), '-n' ('--just-print'), or '-q' ('--question') option. Using the 'MAKE' variable has the same effect as using a '+' character at the beginning of the recipe line. This special feature is only enabled if the 'MAKE' variable appears directly in the recipe: it does not apply if the 'MAKE' variable is referenced through expansion of another variable. In the latter case you must use the '+' token to get these special effects.

Paul D. Smith <psmith>
Project Administrator
Wed 03 Jun 2015 06:36:58 PM UTC, original submission:

A sub-make invoked by `$(call foo)` is not recognized as a sub-make, so a `+' must be added to the command returned by foo for `make -jN` to work. Example follows.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 Jun 2015 07:08:20 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1