NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/34967 (make(1) let's variables in Makefile override the command line)
The following reply was made to PR bin/34967; it has been noted by GNATS.
From: "Greg A. Woods; Planix, Inc." <woods%planix.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: rillig%NetBSD.org@localhost
Subject: Re: bin/34967 (make(1) let's variables in Makefile override the
command line)
Date: Sun, 12 Oct 2008 10:04:25 -0400
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-16-699930129
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
On 12-Oct-08, at 12:05 AM, Eric Haszlakiewicz wrote:
>
> That's odd. I get everything filled in, in all cases. When is your
> "make" from?
Sorry, I thought I had mentioned that my test was on -current as of
2008/10/05.
My tests on the netbsd-4 branch are below and also show empty
via_shell and via_assignment values for the before case. The only
place I've seen it work is here on my OSX laptop with Apple's bsdmake.
09:54 [28] $ make -f src/tvarset.mk COMPILERS='from command line'
before:
via_shell:
via_assignment:
via_for_loop: from command line
after:
via_shell: from command line
via_assignment: from the Makefile
via_for_loop: from the Makefile
direct use:
from command line
09:54 [29] $ COMPILERS='from the environment' make -f src/tvarset.mk
before:
via_shell:
via_assignment:
via_for_loop: from the environment
after:
via_shell: from the Makefile
via_assignment: from the Makefile
via_for_loop: from the Makefile
direct use:
from the Makefile
09:55 [30] $ COMPILERS='from the environment with -e' make -e -f src/
tvarset.mk
before:
via_shell:
via_assignment:
via_for_loop: from the environment with -e
after:
via_shell: from the environment with -e
via_assignment: from the Makefile
via_for_loop: from the Makefile
direct use:
from the environment with -e
09:55 [31] $
--
Greg A. Woods; Planix, Inc.
<woods%planix.ca@localhost>
--Apple-Mail-16-699930129
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iD8DBQFI8gPqZn1xt3i/9H8RAj9EAKCbXA88Sz1JoNoMmwzM0xzWTOF6wgCeP1lR
ibLqzplxGOCYG9rrusSbSMo=
=5/xk
-----END PGP SIGNATURE-----
--Apple-Mail-16-699930129--
Home |
Main Index |
Thread Index |
Old Index