bugmake - Bugs: bug #45799, handle local variables in $(call )


bug #45799: handle local variables in $(call )

Submitted by:  Thierry LARMOIRE <tlarmoire>
Submitted on:  Thu 20 Aug 2015 12:10:12 PM UTC  
Severity: 3 - NormalItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: NoneOperating 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.


Thu 20 Aug 2015 12:10:12 PM UTC, original submission:

add a lset function

$(lset var_name,value)

{ STRING_SIZE_TUPLE("lset"), 2, 2, 1, func_lset},

static char *
func_lset (char o, char argv, const char funcname UNUSED)
if(argv[0] && argv[1])
o = variable_buffer_output (o, argv[1], strlen (argv[1]));
return o;

note, this defines locals in $(foreach ) also :
$(foreach src,$(srcs),$(lset obj,$(subst .c,.o,$(src)))$(info $(obj)))

Thierry LARMOIRE <tlarmoire>


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

Attach File(s):

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 tlarmoire (Submitted the item)

    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):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1