Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 17:36:02 -0600 (MDT)
From:      "John E. Hein" <jhein@timing.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/68534: make(1) - ${.MAKEFLAGS} does not contain cmd line args
Message-ID:  <200406302336.i5UNa2cc029695@gromit.timing.com>
Resent-Message-ID: <200406302340.i5UNeGAI011271@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406302336.i5UNa2cc029695>