Package: make Version: 3.80-11 'make' does not export command-line-derived variables to subshells launched via $(shell):
all: @echo FOO is $$FOO,$(shell echo $(FOO)),$(shell echo $$FOO) If I run it with 'FOO=1 make', it prints: FOO is 1,1,1 ...as I expected. But if I run it with 'make FOO=1' or 'make FOO:=1', it prints: FOO is 1,1, which I certainly did not expect. Passing FOO separately from the environment and the command line, 'FOO=1 make FOO=2': FOO is 2,2,1 This might not be a bug, but I can't find it documentated.
signature.asc
Description: Digital signature