AW: AW: AW: Exported vs command line variables

2016-09-20 Thread Warlich, Christof
> Is there a Make bug report where I could try to raise a bug ? See http://lmgtfy.com/?q=gnu+make+bug+reports :-) ___ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make

Re: AW: AW: Exported vs command line variables

2016-09-20 Thread Pietro
"Warlich, Christof" writes: >> > I'm not sure though if this is intended behavior or just a bug > >> Well, actually I am using version 4.1 and I do see the difference, are >> you sure it is not working as intended ? > > Well, as I said above, I'm definitely not sure. I would most likely consider

Re: Exported vs command line variables

2016-09-20 Thread Brian Vandenberg
This makefile example should help clear things up: $ cat makefile SHELL := bash .RECIPEPREFIX := > blah1 := test1 blah2 := test2 export blah2 # blah2 & blah3 should have identical results export blah3 := test3 default: >@$(foreach x,blah1 blah2 blah3 blah4 blah5,echo "${x}: (origin = $(origin ${x

Re: AW: Exported vs command line variables

2016-09-20 Thread Pietro
"Warlich, Christof" writes: >> There is no difference between the two. They both declare environment >> variables for make. > > That's not entirely true, at least not for (admittedly rather ancient) GNU > Make V3.81. > E.g., consider this Makefile: > > var := $(shell echo "echo hi" >say_hi.sh;

AW: AW: Exported vs command line variables

2016-09-20 Thread Warlich, Christof
> > I'm not sure though if this is intended behavior or just a bug > Well, actually I am using version 4.1 and I do see the difference, are > you sure it is not working as intended ? Well, as I said above, I'm definitely not sure. I would most likely consider it being a bug. Nevertheless, it's a

AW: Exported vs command line variables

2016-09-19 Thread Warlich, Christof
r 2016 06:35 An: Pietro; help-make@gnu.org Betreff: Re: Exported vs command line variables There is no difference between the two. They both declare environment variables for make. From: Help-make on behalf of Pietro Sent: Monday, September 19, 2016 9:32 AM

Re: Exported vs command line variables

2016-09-19 Thread Rakesh Sharma
There is no difference between the two. They both declare environment variables for make. From: Help-make on behalf of Pietro Sent: Monday, September 19, 2016 9:32 AM To: help-make@gnu.org Subject: Exported vs command line variables Hi, I have noticed that

Exported vs command line variables

2016-09-19 Thread Pietro
Hi, I have noticed that there is a difference between the two scenarios listed below: i) make CC=arm-linux-gnueabihf-gcc CPPFLAGS=[..] ii) export CPPFLAGS=[..] [RET] make CC=arm-linux-gnueabihf-gcc I have read over internet that the latter is used when appending instead of replacing/setti