bin/68534: make(1) - ${.MAKEFLAGS} does not contain cmd line args
John E. Hein
jhein at timing.com
Wed Jun 30 16:40:17 PDT 2004
>Number: 68534
>Category: bin
>Synopsis: make(1) - ${.MAKEFLAGS} does not contain cmd line args
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 30 23:40:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: John E. Hein
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
Timing Solutions
>Environment:
System: FreeBSD gromit.timing.com 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Wed Jun 23 10:12:32 MDT 2004 jhein at gromit.timing.com:/usr/pub/jhein/obj/usr/pub/jhein/src/sys/GROMIT i386
at least 4.3, 4.10 and 5.2-CURRENT (as of May 2004)
>Description:
MAKEFLAGS env variable & .MAKEFLAGS make variable does not contain
command line args as specified in make(1).
>How-To-Repeat:
$ cat Makefile
.PHONY: x
x:
@echo MAKEFLAGS: ${MAKEFLAGS}
@echo MFLAGS: ${MFLAGS}
@echo .MAKEFLAGS: ${.MAKEFLAGS}
$ make FOO=1
MAKEFLAGS:
MFLAGS:
.MAKEFLAGS:
>Fix:
1) remove erroneous documentation
or
2) fix make to add args to ${.MAKEFLAGS} make var
(I have no patch at the moment)
(#2 preferred)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list