From owner-freebsd-arch Sun Feb 24 12:20:36 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 9D0C537B400; Sun, 24 Feb 2002 12:20:33 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id HAA16123; Mon, 25 Feb 2002 07:20:30 +1100 Date: Mon, 25 Feb 2002 07:20:50 +1100 (EST) From: Bruce Evans X-X-Sender: To: Ruslan Ermilov Cc: , Bruce Evans , Pekka Savola Subject: Re: MAKEOBJDIRPREFIX In-Reply-To: <20020222080208.GB81821@sunbay.com> Message-ID: <20020225065837.F34027-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 22 Feb 2002, Ruslan Ermilov wrote: > If I am reading the POSIX specs correctly, MAKEOBJDIRPREFIX could > be easily made to be honoured even if specified on a command line. > ... > The attached patch merely moves the `objdir' initialization below > the MainParseArgs() call, after all command line arguments have > already been parsed. Good idea. > To be honest, the current behavior does not contradict to POSIX > (which does not say anything about MAKEOBJDIR[PREFIX]), but the > proposed behavior would help users errouneously attempting to > set MAKEOBJDIRPREFIX on a command line. POSIX is mainly specifying the effect of macros on user makefiles, but I think setting macros on the command line should affect all of our make configuration files if this is not obviously wrong. > (It still does not work > if MAKEOBJDIRPREFIX is set as a make's global.) Do you mean globals in the make configuration files? Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message